forked from qt-creator/qt-creator
Make some EditorManager slots public
saveFile, saveFileAs & revertToSaved are 'reused' in the Bauhaus Design mode. Reviewed-by: con
This commit is contained in:
@@ -205,9 +205,11 @@ public slots:
|
|||||||
bool closeAllEditors(bool askAboutModifiedEditors = true);
|
bool closeAllEditors(bool askAboutModifiedEditors = true);
|
||||||
void openInExternalEditor();
|
void openInExternalEditor();
|
||||||
|
|
||||||
private slots:
|
|
||||||
bool saveFile(Core::IEditor *editor = 0);
|
bool saveFile(Core::IEditor *editor = 0);
|
||||||
bool saveFileAs(Core::IEditor *editor = 0);
|
bool saveFileAs(Core::IEditor *editor = 0);
|
||||||
|
void revertToSaved();
|
||||||
|
|
||||||
|
private slots:
|
||||||
void closeEditor();
|
void closeEditor();
|
||||||
void closeOtherEditors();
|
void closeOtherEditors();
|
||||||
|
|
||||||
@@ -215,7 +217,6 @@ private slots:
|
|||||||
void gotoPreviousDocHistory();
|
void gotoPreviousDocHistory();
|
||||||
void handleContextChange(Core::IContext *context);
|
void handleContextChange(Core::IContext *context);
|
||||||
void updateActions();
|
void updateActions();
|
||||||
void revertToSaved();
|
|
||||||
void makeCurrentEditorWritable();
|
void makeCurrentEditorWritable();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|||||||
Reference in New Issue
Block a user