QmlProjectManager: moved the no-observer warning dialog to qmlprojectplugin

Change-Id: I6ce724e0db17d22616adcdf058d1f05af7124b64
Reviewed-on: http://codereview.qt.nokia.com/1929
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-07-21 10:40:56 +02:00
parent c9ffc770aa
commit ed5030f124
4 changed files with 44 additions and 40 deletions

View File

@@ -33,6 +33,8 @@
#ifndef QMLPROJECTPLUGIN_H
#define QMLPROJECTPLUGIN_H
#include "qmlprojectmanager_global.h"
#include <extensionsystem/iplugin.h>
#include <QtCore/QObject>
@@ -42,7 +44,9 @@ namespace Internal {
class ProjectFilesFactory;
class QmlProjectPlugin: public ExtensionSystem::IPlugin
}
class QMLPROJECTMANAGER_EXPORT QmlProjectPlugin: public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -52,9 +56,11 @@ public:
virtual bool initialize(const QStringList &arguments, QString *errorString);
virtual void extensionsInitialized();
static void showQmlObserverToolWarning();
};
} // namespace Internal
} // namespace QmlProject
#endif // QMLPROJECTPLUGIN_H