diff options
Diffstat (limited to 'src/qdoc/node.h')
-rw-r--r-- | src/qdoc/node.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/qdoc/node.h b/src/qdoc/node.h index 945bc2187..9df3dd70a 100644 --- a/src/qdoc/node.h +++ b/src/qdoc/node.h @@ -159,7 +159,9 @@ public: QString plainName() const; QString plainFullName(const Node* relative = 0) const; + QString plainSignature() const; QString fullName(const Node* relative=0) const; + virtual QString signature(bool , bool ) const { return plainName(); } const QString& fileNameBase() const { return fileNameBase_; } bool hasFileNameBase() const { return !fileNameBase_.isEmpty(); } @@ -894,6 +896,8 @@ public: bool isOverload() const { return overload_; } bool isReimplemented() const Q_DECL_OVERRIDE { return reimplemented_; } bool isFunction() const Q_DECL_OVERRIDE { return true; } + bool isDtor() const { return (metaness_ == Dtor); } + bool isVirtual() const { return (virtualness_ == NormalVirtual); } virtual bool isQmlSignal() const Q_DECL_OVERRIDE { return (type() == Node::QmlSignal) && (genus() == Node::QML); } @@ -926,7 +930,7 @@ public: bool hasActiveAssociatedProperty() const; QStringList reconstructParameters(bool values = false) const; - QString signature(bool values = false) const; + virtual QString signature(bool values, bool noReturnType = false) const; virtual QString element() const Q_DECL_OVERRIDE { return parent()->name(); } virtual bool isAttached() const Q_DECL_OVERRIDE { return attached_; } virtual bool isQtQuickNode() const Q_DECL_OVERRIDE { return parent()->isQtQuickNode(); } @@ -945,6 +949,15 @@ public: void debug() const; + bool isDeleted() const { return isDeleted_; } + void setIsDeleted(bool b) { isDeleted_ = b; } + + bool isDefaulted() const { return isDefaulted_; } + void setIsDefaulted(bool b) { isDefaulted_ = b; } + + void setFinal(bool b) { isFinal_ = b; } + bool isFinal() const { return isFinal_; } + private: void addAssociatedProperty(PropertyNode* property); @@ -961,6 +974,9 @@ private: bool attached_: 1; bool privateSignal_: 1; bool overload_ : 1; + bool isDeleted_ : 1; + bool isDefaulted_ : 1; + bool isFinal_ : 1; unsigned char overloadNumber_; QVector<Parameter> parameters_; const FunctionNode* reimplementedFrom_; |