TextEditor: Re-work comment definition handling

No need for most of the machinery.

Change-Id: I9078174582d83da94c6c7f20282fd3a5f1742911
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2014-07-30 16:01:34 +02:00
parent f3a83367d6
commit f6b48950ed
23 changed files with 65 additions and 155 deletions

View File

@@ -43,9 +43,6 @@ class EditorWidget : public TextEditor::BaseTextEditorWidget
public:
EditorWidget(QWidget *parent = 0);
EditorWidget(EditorWidget *other);
virtual ~EditorWidget();
virtual void unCommentSelection();
protected:
TextEditor::BaseTextEditor *createEditor();
@@ -53,7 +50,6 @@ protected:
private:
EditorWidget(TextEditor::BaseTextEditorWidget *); // avoid stupidity
void ctor();
Utils::CommentDefinition m_commentDefinition;
};
} // namespace Internal