Implement missing actionsForMatch.
Review: http://reviewboard.kde.org/r/2180/ svn path=/trunk/KDE/kdelibs/; revision=1049917
This commit is contained in:
parent
997d6efed4
commit
c80e22969c
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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:
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user