Implement missing actionsForMatch.

Review: http://reviewboard.kde.org/r/2180/

svn path=/trunk/KDE/kdelibs/; revision=1049917
This commit is contained in:
Petri Damstén 2009-11-16 07:24:39 +00:00
parent 997d6efed4
commit c80e22969c
2 changed files with 4 additions and 1 deletions

View File

@ -133,6 +133,9 @@ QList<QAction*> AbstractRunner::actionsForMatch(const Plasma::QueryMatch &match)
{
Q_UNUSED(match)
QList<QAction*> ret;
if (d->script) {
emit d->script->actionsForMatch(match, &ret);
}
return ret;
}

View File

@ -81,7 +81,7 @@ Q_SIGNALS:
void teardown();
void createRunOptions(QWidget *widget);
void reloadConfiguration();
//TODO: QList<QAction*> actionsForMatch(const Plasma::QueryMatch &match);
void actionsForMatch(const Plasma::QueryMatch &match, QList<QAction*>* actions);
protected:
/**