Disable Run Configurations while parsing .pro files

Initial patch and idea by hunger.
Reviewed-By: hunger
This commit is contained in:
dt
2010-10-27 16:27:22 +02:00
parent 6fe7c441c5
commit 45dd1ad7f5
18 changed files with 273 additions and 53 deletions

View File

@@ -298,6 +298,10 @@ public:
void update();
void scheduleUpdate();
void emitProFileInvalidated();
bool validParse() const;
public slots:
void asyncUpdate();
@@ -335,6 +339,8 @@ private:
InstallsList m_installsList;
friend class Qt4NodeHierarchy;
bool m_validParse;
// Async stuff
QFutureWatcher<bool> m_parseFutureWatcher;
ProFileReader *m_readerExact;
@@ -357,7 +363,8 @@ signals:
const QHash<Qt4Variable, QStringList> &oldValues,
const QHash<Qt4Variable, QStringList> &newValues);
void proFileUpdated(Qt4ProjectManager::Internal::Qt4ProFileNode *projectNode);
void proFileUpdated(Qt4ProjectManager::Internal::Qt4ProFileNode *projectNode, bool success);
void proFileInvalidated(Qt4ProjectManager::Internal::Qt4ProFileNode *projectNode);
private:
// let them emit signals