forked from qt-creator/qt-creator
QmlJS: Add 'reset code model' action.
Having to restart Creator should be a thing of the past. Task-number: QTCREATORBUG-4813 Change-Id: Ide242ee299b5d34aecba4823032e27741dde4a86 Reviewed-on: http://codereview.qt.nokia.com/668 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
committed by
Fawzi Mohamed
parent
1d78e594d8
commit
4f05d53ef5
@@ -42,6 +42,7 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QFileInfo;
|
||||
class QDir;
|
||||
class QAction;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace QmlJSTools {
|
||||
@@ -67,9 +68,14 @@ public:
|
||||
ShutdownFlag aboutToShutdown();
|
||||
ModelManager *modelManager() { return m_modelManager; }
|
||||
|
||||
private slots:
|
||||
void onTaskStarted(const QString &type);
|
||||
void onAllTasksFinished(const QString &type);
|
||||
|
||||
private:
|
||||
ModelManager *m_modelManager;
|
||||
QmlJSToolsSettings *m_settings;
|
||||
QAction *m_resetCodeModelAction;
|
||||
|
||||
static QmlJSToolsPlugin *m_instance;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user