Changeset View
Changeset View
Standalone View
Standalone View
duchain/phpducontext.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
54 | PhpDUContext(const Param1& p1, const Param2& p2, const Param3& p3) : BaseContext(p1, p2, p3) { | 54 | PhpDUContext(const Param1& p1, const Param2& p2, const Param3& p3) : BaseContext(p1, p2, p3) { | ||
55 | static_cast<KDevelop::DUChainBase*>(this)->d_func_dynamic()->setClassId(this); | 55 | static_cast<KDevelop::DUChainBase*>(this)->d_func_dynamic()->setClassId(this); | ||
56 | } | 56 | } | ||
57 | template<class Param1, class Param2> | 57 | template<class Param1, class Param2> | ||
58 | PhpDUContext(const Param1& p1, const Param2& p2) : BaseContext(p1, p2) { | 58 | PhpDUContext(const Param1& p1, const Param2& p2) : BaseContext(p1, p2) { | ||
59 | static_cast<KDevelop::DUChainBase*>(this)->d_func_dynamic()->setClassId(this); | 59 | static_cast<KDevelop::DUChainBase*>(this)->d_func_dynamic()->setClassId(this); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | virtual QWidget* createNavigationWidget(KDevelop::Declaration* decl, KDevelop::TopDUContext* topContext, | 62 | QWidget* createNavigationWidget(KDevelop::Declaration* decl, KDevelop::TopDUContext* topContext, | ||
63 | const QString& htmlPrefix, const QString& htmlSuffix, | 63 | const QString& htmlPrefix, const QString& htmlSuffix, | ||
64 | KDevelop::AbstractNavigationWidget::DisplayHints hints) const override; | 64 | KDevelop::AbstractNavigationWidget::DisplayHints hints) const override; | ||
65 | 65 | | |||
66 | enum { | 66 | enum { | ||
67 | Identity = BaseContext::Identity + 51 | 67 | Identity = BaseContext::Identity + 51 | ||
68 | }; | 68 | }; | ||
69 | }; | 69 | }; | ||
70 | 70 | | |||
71 | } | 71 | } | ||
72 | #endif | 72 | #endif |