|
MythTV master
|
A class that uniquely identifies an action. More...
#include <mythfrontend/action.h>
Public Member Functions | |
| ActionID (void) | |
| Create an empty action. More... | |
| ActionID (QString context, QString action) | |
| Create a new action identifier. More... | |
| ActionID (const ActionID &)=default | |
| ActionID & | operator= (const ActionID &)=default |
| QString | GetContext (void) const |
| Returns the context name. More... | |
| QString | GetAction (void) const |
| Returns the action name. More... | |
| 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.
| ActionID::ActionID | ( | void | ) |
Create an empty action.
|
inline |
|
default |
|
inline |
Returns the action name.
Definition at line 103 of file action.h.
Referenced by MythControls::ResolveConflict().
|
inline |
Returns the context name.
Definition at line 100 of file action.h.
Referenced by MythControls::ResolveConflict().
|
private |
Definition at line 113 of file action.h.
Referenced by GetAction(), and operator==().
|
private |
Definition at line 112 of file action.h.
Referenced by GetContext(), and operator==().