Changeset View
Changeset View
Standalone View
Standalone View
plugins/filetemplates/templatepreviewtoolview.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 49 | public: | |||
---|---|---|---|---|---|
51 | ~TemplatePreviewToolView() override; | 51 | ~TemplatePreviewToolView() override; | ||
52 | 52 | | |||
53 | private: | 53 | private: | ||
54 | Ui::TemplatePreviewToolView* ui; | 54 | Ui::TemplatePreviewToolView* ui; | ||
55 | KTextEditor::Document* m_original; | 55 | KTextEditor::Document* m_original; | ||
56 | FileTemplatesPlugin* m_plugin; | 56 | FileTemplatesPlugin* m_plugin; | ||
57 | KDevelop::TemplateRenderer::EmptyLinesPolicy m_policy; | 57 | KDevelop::TemplateRenderer::EmptyLinesPolicy m_policy; | ||
58 | 58 | | |||
59 | private slots: | 59 | private Q_SLOTS: | ||
60 | void sourceTextChanged(const QString& text); | 60 | void sourceTextChanged(const QString& text); | ||
61 | 61 | | |||
62 | protected: | 62 | protected: | ||
63 | void showEvent(QShowEvent*) override; | 63 | void showEvent(QShowEvent*) override; | ||
64 | 64 | | |||
65 | public slots: | 65 | public Q_SLOTS: | ||
66 | void documentActivated(KDevelop::IDocument* document); | 66 | void documentActivated(KDevelop::IDocument* document); | ||
67 | void documentChanged(KTextEditor::Document* textDocument); | 67 | void documentChanged(KTextEditor::Document* textDocument); | ||
68 | void documentClosed(KDevelop::IDocument* document); | 68 | void documentClosed(KDevelop::IDocument* document); | ||
69 | void selectedRendererChanged(); | 69 | void selectedRendererChanged(); | ||
70 | }; | 70 | }; | ||
71 | 71 | | |||
72 | #endif // KDEVPLATFORM_PLUGIN_TEMPLATEPREVIEWTOOLVIEW_H | 72 | #endif // KDEVPLATFORM_PLUGIN_TEMPLATEPREVIEWTOOLVIEW_H |