Add functionality to show progress for the application in task bar/dock.

Move the API to the progress manager.
Added a first Mac implementation, other
platforms are pending.
This commit is contained in:
con
2009-11-26 15:51:10 +01:00
parent 4688634f78
commit 90c03d3209
21 changed files with 311 additions and 73 deletions

View File

@@ -101,9 +101,7 @@ void BaseFileFind::findAll(const QString &txt, QTextDocument::FindFlags findFlag
Core::FutureProgress *progress =
Core::ICore::instance()->progressManager()->addTask(m_watcher.future(),
"Search",
Constants::TASK_SEARCH,
Core::ProgressManager::CloseOnSuccess
);
Constants::TASK_SEARCH);
progress->setWidget(createProgressWidget());
connect(progress, SIGNAL(clicked()), m_resultWindow, SLOT(popup()));
}