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:
Eike Ziller
2014-07-18 17:11:57 +02:00
committed by hjk
parent 3d4caa3908
commit ff60b856ec
10 changed files with 1657 additions and 1612 deletions

View File

@@ -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)