Changeset View
Changeset View
Standalone View
Standalone View
shell/documentationcontroller.h
Show All 39 Lines | 39 | public: | |||
---|---|---|---|---|---|
40 | explicit DocumentationController(Core* core); | 40 | explicit DocumentationController(Core* core); | ||
41 | ~DocumentationController() override; | 41 | ~DocumentationController() override; | ||
42 | 42 | | |||
43 | void initialize(); | 43 | void initialize(); | ||
44 | 44 | | |||
45 | QList<IDocumentationProvider*> documentationProviders() const override; | 45 | QList<IDocumentationProvider*> documentationProviders() const override; | ||
46 | IDocumentation::Ptr documentationForDeclaration(Declaration* declaration) override; | 46 | IDocumentation::Ptr documentationForDeclaration(Declaration* declaration) override; | ||
47 | void showDocumentation(const IDocumentation::Ptr& doc) override; | 47 | void showDocumentation(const IDocumentation::Ptr& doc) override; | ||
48 | ContextMenuExtension contextMenuExtension( Context* context ); | 48 | ContextMenuExtension contextMenuExtension(Context* context, QWidget* parent); | ||
49 | 49 | | |||
50 | public Q_SLOTS: | 50 | public Q_SLOTS: | ||
51 | void changedDocumentationProviders() override; | 51 | void changedDocumentationProviders() override; | ||
52 | 52 | | |||
53 | private Q_SLOTS: | 53 | private Q_SLOTS: | ||
54 | void doShowDocumentation(); | 54 | void doShowDocumentation(); | ||
55 | 55 | | |||
56 | private: | 56 | private: | ||
57 | DocumentationViewFactory* m_factory; | 57 | DocumentationViewFactory* m_factory; | ||
58 | QAction* m_showDocumentation; | 58 | QAction* m_showDocumentation; | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | #endif // KDEVPLATFORM_DOCUMENTATIONCONTROLLER_H | 63 | #endif // KDEVPLATFORM_DOCUMENTATIONCONTROLLER_H |