forked from qt-creator/qt-creator
TextEditor: Merge the two sets of *EditorWidget constructors
Change-Id: I45d87d0be722ac36d64af222f03f8cb76242c9df Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -66,8 +66,7 @@ class CMakeEditorWidget : public TextEditor::BaseTextEditorWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CMakeEditorWidget(QWidget *parent = 0);
|
||||
CMakeEditorWidget(CMakeEditorWidget *other);
|
||||
CMakeEditorWidget();
|
||||
|
||||
bool save(const QString &fileName = QString());
|
||||
|
||||
@@ -76,10 +75,6 @@ public:
|
||||
protected:
|
||||
TextEditor::BaseTextEditor *createEditor();
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
|
||||
private:
|
||||
CMakeEditorWidget(TextEditor::BaseTextEditorWidget *); // avoid stupidity
|
||||
void ctor();
|
||||
};
|
||||
|
||||
class CMakeDocument : public TextEditor::BaseTextDocument
|
||||
|
||||
Reference in New Issue
Block a user