A class that uniquely identifies an action. More...
#include <action.h>
Public Member Functions | |
| ActionID (void) | |
| Create an empty action. | |
| ActionID (const QString &context, const QString &action) | |
| Create a new action identifier. | |
| ActionID (const ActionID &other) | |
| QString | GetContext (void) const |
| Returns the context name. | |
| QString | GetAction (void) const |
| Returns the action name. | |
| bool | operator== (const ActionID &other) const |
Private Attributes | |
| QString | m_context |
| QString | m_action |
A class that uniquely identifies an action.
Actions are identified based on their action name and context.
Definition at line 96 of file action.h.
| ActionID::ActionID | ( | void | ) |
Create an empty action.
| ActionID::ActionID | ( | const QString & | context, | |
| const QString & | action | |||
| ) | [inline] |
| QString ActionID::GetContext | ( | void | ) | const [inline] |
Returns the context name.
Definition at line 121 of file action.h.
Referenced by MythControls::ResolveConflict().
| QString ActionID::GetAction | ( | void | ) | const [inline] |
Returns the action name.
Definition at line 129 of file action.h.
Referenced by MythControls::ResolveConflict().
QString ActionID::m_context [private] |
Definition at line 143 of file action.h.
Referenced by ActionID(), GetContext(), and operator==().
QString ActionID::m_action [private] |
Definition at line 144 of file action.h.
Referenced by ActionID(), GetAction(), and operator==().
1.6.3