131 #endif // ACTIONLIST_H
~ActionList()
Safely removes an ActionList.
Definition: actionlist.cpp:35
This class is used to keep track of actions to do. For example it can keep track of current view scro...
Definition: actionlist.h:50
void setPrimaryAction(int _primaryAction)
Set the given parameter as the new primaryAction, overriding the old one.
Definition: actionlist.cpp:40
QList< int > getAllActions()
Returns a list of primary and secondary actions.
Definition: actionlist.cpp:65
QList< int > getSecondaryActions()
Returns the secondaryActions list.
Definition: actionlist.cpp:60
int primaryAction
Definition: actionlist.h:127
void removeSecondaryAction(int _secondaryAction)
Removes a secondary action to secondaryActions list.
Definition: actionlist.cpp:55
ActionList()
Creates a new ActionList with no secondaryActions and 0 as primaryAction.
Definition: actionlist.cpp:21
void appendSecondaryAction(int _secondaryAction)
Appends a secondary action to secondaryActions list.
Definition: actionlist.cpp:50
int getPrimaryAction()
Returns the current primaryAction.
Definition: actionlist.cpp:45
QList< int > secondaryActions
Definition: actionlist.h:128