summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/snippets/snippeteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/texteditor/snippets/snippeteditor.h')
-rw-r--r--src/plugins/texteditor/snippets/snippeteditor.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.h b/src/plugins/texteditor/snippets/snippeteditor.h
index d563fd363f..1378129a18 100644
--- a/src/plugins/texteditor/snippets/snippeteditor.h
+++ b/src/plugins/texteditor/snippets/snippeteditor.h
@@ -35,20 +35,6 @@
namespace TextEditor {
-class SnippetEditorWidget;
-class SyntaxHighlighter;
-class Indenter;
-
-// Should not be necessary in this case, but the base text editor assumes a
-// valid editable interface.
-class TEXTEDITOR_EXPORT SnippetEditor : public BaseTextEditor
-{
- Q_OBJECT
-
-public:
- SnippetEditor();
-};
-
class TEXTEDITOR_EXPORT SnippetEditorWidget : public BaseTextEditorWidget
{
Q_OBJECT
@@ -56,8 +42,6 @@ class TEXTEDITOR_EXPORT SnippetEditorWidget : public BaseTextEditorWidget
public:
SnippetEditorWidget(QWidget *parent = 0);
- void setSyntaxHighlighter(SyntaxHighlighter *highlighter);
-
signals:
void snippetContentChanged();
@@ -68,6 +52,6 @@ protected:
virtual BaseTextEditor *createEditor();
};
-} // TextEditor
+} // namespace TextEditor
#endif // SNIPPETEDITOR_H