Changeset View
Changeset View
Standalone View
Standalone View
duchain/declarations/classmethoddeclaration.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | |||||
54 | */ | 54 | */ | ||
55 | class KDEVPHPDUCHAIN_EXPORT ClassMethodDeclaration : public KDevelop::ClassFunctionDeclaration | 55 | class KDEVPHPDUCHAIN_EXPORT ClassMethodDeclaration : public KDevelop::ClassFunctionDeclaration | ||
56 | { | 56 | { | ||
57 | public: | 57 | public: | ||
58 | ClassMethodDeclaration(const ClassMethodDeclaration &rhs); | 58 | ClassMethodDeclaration(const ClassMethodDeclaration &rhs); | ||
59 | ClassMethodDeclaration(const KDevelop::RangeInRevision &range, KDevelop::DUContext *context); | 59 | ClassMethodDeclaration(const KDevelop::RangeInRevision &range, KDevelop::DUContext *context); | ||
60 | ClassMethodDeclaration(ClassMethodDeclarationData &data); | 60 | ClassMethodDeclaration(ClassMethodDeclarationData &data); | ||
61 | ClassMethodDeclaration(ClassMethodDeclarationData &data, const KDevelop::RangeInRevision &range, KDevelop::DUContext *context); | 61 | ClassMethodDeclaration(ClassMethodDeclarationData &data, const KDevelop::RangeInRevision &range, KDevelop::DUContext *context); | ||
62 | ~ClassMethodDeclaration(); | 62 | ~ClassMethodDeclaration() override; | ||
63 | 63 | | |||
64 | /// overwritten to check for __construct() method | 64 | /// overwritten to check for __construct() method | ||
65 | virtual bool isConstructor() const; | 65 | bool isConstructor() const override; | ||
66 | /// overwritten to check for __destruct() method | 66 | /// overwritten to check for __destruct() method | ||
67 | virtual bool isDestructor() const; | 67 | bool isDestructor() const override; | ||
68 | 68 | | |||
69 | virtual QString toString() const; | 69 | QString toString() const override; | ||
70 | 70 | | |||
71 | void setPrettyName(const KDevelop::IndexedString& name); | 71 | void setPrettyName(const KDevelop::IndexedString& name); | ||
72 | KDevelop::IndexedString prettyName() const; | 72 | KDevelop::IndexedString prettyName() const; | ||
73 | 73 | | |||
74 | enum { | 74 | enum { | ||
75 | Identity = 84 | 75 | Identity = 84 | ||
76 | }; | 76 | }; | ||
77 | 77 | | |||
78 | virtual KDevelop::Declaration* clonePrivate() const; | 78 | KDevelop::Declaration* clonePrivate() const override; | ||
79 | private: | 79 | private: | ||
80 | DUCHAIN_DECLARE_DATA(ClassMethodDeclaration) | 80 | DUCHAIN_DECLARE_DATA(ClassMethodDeclaration) | ||
81 | }; | 81 | }; | ||
82 | 82 | | |||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | #endif // CLASSMETHODDECLARATION_H | 85 | #endif // CLASSMETHODDECLARATION_H | ||
86 | 86 | |