Android: Add Libraries: Disable library model while parse is in progress

Change-Id: I314e7db6178d6d6863b3f99a0bf1f0eec0956303
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Daniel Teske
2014-03-11 18:05:17 +01:00
parent c577906823
commit 3d8000a926
4 changed files with 47 additions and 20 deletions

View File

@@ -34,7 +34,10 @@
#include <QAbstractItemModel>
#include <QStringList>
namespace QmakeProjectManager { class QmakeProject; }
namespace QmakeProjectManager {
class QmakeProject;
class QmakeProFileNode;
}
namespace Android {
namespace Internal {
@@ -54,8 +57,13 @@ public:
void removeEntries(QModelIndexList list);
void addEntries(const QStringList &list);
bool isEnabled() const;
signals:
void enabledChanged(bool);
private slots:
void reset();
void proFileUpdated(QmakeProjectManager::QmakeProFileNode *node, bool success, bool parseInProgress);
private:
QmakeProjectManager::QmakeProject *m_project;