Member Function Documentation
FunctionNode::FunctionNode(InnerNode * parent, const QString & name)
Construct a function node for a C++ function. It's parent is parent, and it's name is name.
FunctionNode::FunctionNode(Type type, InnerNode * parent, const QString & name, bool attached)
Construct a function node for a QML method or signal, specified by type. It's parent is parent, and it's name is name. If attached is true, it is an attached method or signal.
FunctionNode::~FunctionNode() [virtual]
void FunctionNode::addParameter(const Parameter & parameter)
const PropertyNode * FunctionNode::associatedProperty() const
void FunctionNode::borrowParameterNames(const FunctionNode * source)
void FunctionNode::debug() const
Print some debugging stuff.
const QString & FunctionNode::element() const
bool FunctionNode::isAttached() const [virtual]
bool FunctionNode::isConst() const
bool FunctionNode::isFunction() const [virtual]
bool FunctionNode::isMacro() const
bool FunctionNode::isOverload() const
bool FunctionNode::isQmlNode() const [virtual]
bool FunctionNode::isQtQuickNode() const [virtual]
bool FunctionNode::isReimp() const [virtual]
bool FunctionNode::isStatic() const
Metaness FunctionNode::metaness() const
See also setMetaness().
int FunctionNode::overloadNumber() const
Returns the overload number for this function obtained from the parent.
QStringList FunctionNode::parameterNames() const
Returns the list of parameter names.
const QList<Parameter> & FunctionNode::parameters() const
See also setParameters().
const QStringList & FunctionNode::parentPath() const
See also setParentPath().
QString FunctionNode::qmlModuleIdentifier() const [virtual]
QString FunctionNode::qmlModuleName() const [virtual]
QString FunctionNode::qmlModuleVersion() const [virtual]
QString FunctionNode::qmlTypeName() const [virtual]
QString FunctionNode::rawParameters(bool names = false, bool values = false) const
Returns a raw list of parameters. If names is true, the names are included. If values is true, the default values are included, if any are present.
QStringList FunctionNode::reconstructParams(bool values = false) const
Returns the list of reconstructed parameters. If values is true, the default values are included, if any are present.
const QList<FunctionNode *> & FunctionNode::reimplementedBy() const
const FunctionNode * FunctionNode::reimplementedFrom() const
See also setReimplementedFrom().
const QString & FunctionNode::returnType() const
See also setReturnType().
void FunctionNode::setConst(bool conste)
See also isConst().
void FunctionNode::setMetaness(Metaness metaness)
See also metaness().
void FunctionNode::setOverload(bool overlode)
See also isOverload().
void FunctionNode::setParameters(const QList<Parameter> & parameters)
See also parameters().
void FunctionNode::setParentPath(const QStringList & parentPath)
See also parentPath().
void FunctionNode::setReimp(bool r)
Sets the function node's reimplementation flag to r. When r is true, it is supposed to mean that this function is a reimplementation of a virtual function in a base class, but it really just means the reimp command was seen in the qdoc comment.
See also isReimp().
void FunctionNode::setReimplementedFrom(FunctionNode * from)
If this function is a reimplementation, from points to the FunctionNode of the function being reimplemented.
See also reimplementedFrom().
void FunctionNode::setReturnType(const QString & returnType)
See also returnType().
void FunctionNode::setStatic(bool statique)
See also isStatic().
void FunctionNode::setVirtualness(Virtualness virtualness)
Sets the virtualness of this function. If the virtualness is PureVirtual, and if the parent() is a ClassNode, set the parent's abstract flag to true.
See also virtualness().
QString FunctionNode::signature(bool values = false) const
Reconstructs and returns the function's signature. If values is true, the default values of the parameters are included, if present.
Virtualness FunctionNode::virtualness() const
See also setVirtualness().