ActionID Class Reference

#include <action.h>

List of all members.


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.


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

Constructor & Destructor Documentation

ActionID::ActionID ( void   ) 

Create an empty action.

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

Create a new action identifier.

Parameters:
context The action's context
action The 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:

Generated on Thu Sep 9 06:39:40 2010 for MythTV by  doxygen 1.5.5