Changeset View
Changeset View
Standalone View
Standalone View
docs/phpdocumentation.h
Show All 32 Lines | |||||
33 | 33 | | |||
34 | class PhpDocsPlugin; | 34 | class PhpDocsPlugin; | ||
35 | 35 | | |||
36 | class PhpDocumentation : public KDevelop::IDocumentation | 36 | class PhpDocumentation : public KDevelop::IDocumentation | ||
37 | { | 37 | { | ||
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | public: | 39 | public: | ||
40 | explicit PhpDocumentation(const QUrl& url, const QString& name, const QByteArray& description, PhpDocsPlugin* parent); | 40 | explicit PhpDocumentation(const QUrl& url, const QString& name, const QByteArray& description, PhpDocsPlugin* parent); | ||
41 | ~PhpDocumentation(); | 41 | ~PhpDocumentation() override; | ||
42 | 42 | | |||
43 | QString name() const override; | 43 | QString name() const override; | ||
44 | QString description() const override; | 44 | QString description() const override; | ||
45 | QWidget* documentationWidget(KDevelop::DocumentationFindWidget* findWidget, QWidget* parent = 0) override; | 45 | QWidget* documentationWidget(KDevelop::DocumentationFindWidget* findWidget, QWidget* parent = nullptr) override; | ||
46 | KDevelop::IDocumentationProvider* provider() const override; | 46 | KDevelop::IDocumentationProvider* provider() const override; | ||
47 | 47 | | |||
48 | private: | 48 | private: | ||
49 | const QUrl m_url; | 49 | const QUrl m_url; | ||
50 | const QString m_name; | 50 | const QString m_name; | ||
51 | const QByteArray m_description; | 51 | const QByteArray m_description; | ||
52 | PhpDocsPlugin* m_parent; | 52 | PhpDocsPlugin* m_parent; | ||
53 | }; | 53 | }; | ||
54 | 54 | | |||
55 | #endif // PHPDOCUMENTATION_H | 55 | #endif // PHPDOCUMENTATION_H |