#include <actionid.h>
Actions are identified based on their action name and context.
Definition at line 36 of file actionid.h.
Public Member Functions | |
| ActionID () | |
| Create an empty action. | |
| ActionID (const QString &context, const QString &action) | |
| Create a new action identifier. | |
| QString | GetContext (void) const |
| Returns the context name. (note: result is not thread-safe). | |
| QString | GetAction (void) const |
| Returns the action name. (note: result is not thread-safe). | |
| bool | operator== (const ActionID &other) const |
Private Attributes | |
| QString | m_context |
| QString | m_action |
| ActionID::ActionID | ( | ) | [inline] |
| ActionID::ActionID | ( | const QString & | context, | |
| const QString & | action | |||
| ) | [inline] |
Create a new action identifier.
| context | The action's context | |
| action | The action's name |
Definition at line 46 of file actionid.h.
| QString ActionID::GetContext | ( | void | ) | const [inline] |
Returns the context name. (note: result is not thread-safe).
Definition at line 50 of file actionid.h.
Referenced by MythControls::ResolveConflict().
| QString ActionID::GetAction | ( | void | ) | const [inline] |
Returns the action name. (note: result is not thread-safe).
Definition at line 53 of file actionid.h.
Referenced by MythControls::ResolveConflict().
Definition at line 55 of file actionid.h.
QString ActionID::m_context [private] |
QString ActionID::m_action [private] |
1.5.5