Commit 30b9273e authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

Moving fake toolbar to core

parent 35572c46
......@@ -39,6 +39,7 @@
#include "mimedatabase.h"
#include "tabpositionindicator.h"
#include "vcsmanager.h"
#include "faketoolbar.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/modemanager.h>
......@@ -441,6 +442,12 @@ void EditorManager::init()
pluginManager()->addObject(m_d->m_openEditorsFactory);
}
FakeToolBar *EditorManager::createFakeToolBar(QWidget *parent)
{
return new FakeToolBar(parent);
}
QString EditorManager::defaultExternalEditor() const
{
#ifdef Q_OS_UNIX
......
......@@ -57,6 +57,8 @@ class IFile;
class IMode;
class IVersionControl;
class FakeToolBar;
enum MakeWritableResult {
OpenedWithVersionControl,
MadeWritable,
......@@ -105,6 +107,8 @@ public:
void init();
static EditorManager *instance() { return m_instance; }
static FakeToolBar *createFakeToolBar(QWidget *parent = 0);
enum OpenEditorFlag {
NoActivate = 1,
IgnoreNavigationHistory = 2,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment