forked from qt-creator/qt-creator
EditorManager: Clean up public interface
By moving internally used methods to EditorManagerPrivate Change-Id: I046ce92b8baffe4bcd2ea0529557a3ae69f74338 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
#include <coreplugin/editormanager/editormanager.h>
|
||||
#include <coreplugin/editormanager/editormanager_p.h>
|
||||
#include <coreplugin/editormanager/documentmodel.h>
|
||||
#include <coreplugin/actionmanager/actionmanager.h>
|
||||
|
||||
@@ -339,7 +340,7 @@ void EditorToolBar::listContextMenu(QPoint pos)
|
||||
void EditorToolBar::makeEditorWritable()
|
||||
{
|
||||
if (IDocument *current = EditorManager::currentDocument())
|
||||
EditorManager::makeFileWritable(current);
|
||||
Internal::EditorManagerPrivate::makeFileWritable(current);
|
||||
}
|
||||
|
||||
void EditorToolBar::setCanGoBack(bool canGoBack)
|
||||
|
||||
Reference in New Issue
Block a user