performNextAction/performPreviousAction

This commit is contained in:
Marco Martin 2013-02-25 14:42:02 +01:00
parent 4ab7b3d044
commit d68087f410
2 changed files with 6 additions and 4 deletions

View File

@ -155,12 +155,14 @@ void ContainmentActions::configurationAccepted()
//do nothing by default
}
void ContainmentActions::performNext()
void ContainmentActions::performNextAction()
{
//do nothing by default, implement in subclasses
}
void ContainmentActions::performPrevious()
void ContainmentActions::performPreviousAction()
{
//do nothing by default, implement in subclasses
}
QList<QAction*> ContainmentActions::contextualActions()

View File

@ -142,7 +142,7 @@ class PLASMA_EXPORT ContainmentActions : public QObject
* windows, virtual desktops, activities, etc.
* @see performPrevious
*/
virtual void performNext();
virtual void performNextAction();
/**
* Called when a "previous" action is triggered (e.g. by mouse wheel scroll). This
@ -150,7 +150,7 @@ class PLASMA_EXPORT ContainmentActions : public QObject
* windows, virtual desktops, activities, etc.
* @see performNext
*/
virtual void performPrevious();
virtual void performPreviousAction();
/**
* Implement this to provide a list of actions that can be added to another menu