forked from qt-creator/qt-creator
ICore: Move handling of New File/Project dialog into ICore
ICore only used to pass this on to MainWindow. Change-Id: I3c4a214330713928a50a291e3c5c6624310db03a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
|
||||
#include "icontext.h"
|
||||
#include "icore.h"
|
||||
#include "dialogs/newdialog.h"
|
||||
|
||||
#include <utils/appmainwindow.h>
|
||||
#include <utils/fileutils.h>
|
||||
@@ -109,21 +108,13 @@ public:
|
||||
|
||||
void setOverrideColor(const QColor &color);
|
||||
|
||||
bool isNewItemDialogRunning() const;
|
||||
|
||||
signals:
|
||||
void newItemDialogRunningChanged();
|
||||
|
||||
public slots:
|
||||
void newFile();
|
||||
void openFileWith();
|
||||
void exit();
|
||||
|
||||
void showNewItemDialog(const QString &title,
|
||||
const QList<IWizardFactory *> &factories,
|
||||
const QString &defaultLocation = QString(),
|
||||
const QVariantMap &extraVariables = QVariantMap());
|
||||
|
||||
bool showOptionsDialog(Id page = Id(), QWidget *parent = 0);
|
||||
|
||||
bool showWarningWithOptions(const QString &title, const QString &text,
|
||||
@@ -177,7 +168,6 @@ private:
|
||||
RightPaneWidget *m_rightPaneWidget;
|
||||
StatusBarWidget *m_outputView;
|
||||
VersionDialog *m_versionDialog;
|
||||
QPointer<NewDialog> m_newDialog;
|
||||
|
||||
QList<IContext *> m_activeContext;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user