Implement index documentation progress bar and make it interruptible.

Reviewed-by: ck
This commit is contained in:
kh1
2010-03-02 10:53:46 +01:00
parent 3b2c2c2253
commit a53594cf80
2 changed files with 34 additions and 0 deletions

View File

@@ -31,6 +31,8 @@
#include <extensionsystem/iplugin.h>
#include <QtCore/QFutureInterface>
#include <QtCore/QFutureWatcher>
#include <QtCore/QMap>
#include <QtCore/QStringList>
@@ -129,6 +131,9 @@ private slots:
void removeViewerFromComboBox(int index);
void updateViewerComboBoxIndex(int index);
void indexingStarted();
void indexingFinished();
private:
bool updateDocumentation();
@@ -169,6 +174,9 @@ private:
HelpManager *helpManager;
QStringList filesToRegister;
QFutureWatcher<void> m_watcher;
QFutureInterface<void> m_progress;
};
} // namespace Internal