RunnerManager: emit signal queryFinished when the search finished, it can be useful when creating animations

svn path=/trunk/KDE/kdelibs/; revision=1075406
This commit is contained in:
Igor Trindade Oliveira 2010-01-16 01:20:35 +00:00
parent bf492e3465
commit 7c1ce3f4ec
2 changed files with 8 additions and 0 deletions

View File

@ -319,6 +319,8 @@ public:
singleRunnerPrepped = false; singleRunnerPrepped = false;
} }
emit q->queryFinished();
prepped = false; prepped = false;
teardownRequested = false; teardownRequested = false;
} }

View File

@ -229,6 +229,12 @@ class PLASMA_EXPORT RunnerManager : public QObject
*/ */
void matchesChanged(const QList<Plasma::QueryMatch> &matches); void matchesChanged(const QList<Plasma::QueryMatch> &matches);
/**
* Emitted when the launchQuery finish
* @since 4.5
*/
void queryFinished();
private: private:
Q_PRIVATE_SLOT(d, void scheduleMatchesChanged()) Q_PRIVATE_SLOT(d, void scheduleMatchesChanged())
Q_PRIVATE_SLOT(d, void matchesChanged()) Q_PRIVATE_SLOT(d, void matchesChanged())