Generic Project: Preserve out of project files on "Edit Files"

Change-Id: Ia71ed20f8cd5563f1e7fce7a99cf12fc4e7e62c2
Reviewed-on: http://codereview.qt.nokia.com/1076
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Daniel Teske
2011-07-01 18:56:44 +02:00
parent b48ccacbd0
commit be1e4d85ee
2 changed files with 26 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ public:
QStringList selectedFiles() const;
QStringList selectedPaths() const;
QStringList preservedFiles() const;
// only call this once
void startParsing();
@@ -115,6 +116,7 @@ private:
// Used in the future thread need to all not used after calling startParsing
QString m_baseDir;
QSet<QString> m_files;
QStringList m_outOfBaseDirFiles;
QSet<QString> m_suffixes;
QFutureWatcher<void> m_watcher;
Tree *m_rootForFuture;
@@ -143,6 +145,7 @@ private:
QLineEdit *m_filterLineEdit;
QPushButton *m_applyFilterButton;
QTreeView *m_view;
QLabel *m_preservedFiles;
QLabel *m_progressLabel;
};