MythTV  0.25-pre
Public Member Functions | Private Attributes
ActionID Class Reference

A class that uniquely identifies an action. More...

#include <action.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Create an empty action.

ActionID::ActionID ( const QString &  context,
const QString &  action 
) [inline]

Create a new action identifier.

Parameters:
contextThe action's context
actionThe action's name

Definition at line 106 of file action.h.

ActionID::ActionID ( const ActionID other) [inline]

Definition at line 113 of file action.h.


Member Function Documentation

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().

bool ActionID::operator== ( const ActionID other) const [inline]

Definition at line 136 of file action.h.


Member Data Documentation

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==().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends