ActionID Class Reference

#include <actionid.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 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

Constructor & Destructor Documentation

ActionID::ActionID (  )  [inline]

Create an empty action.

Definition at line 40 of file actionid.h.

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 46 of file actionid.h.


Member Function Documentation

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

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

Definition at line 55 of file actionid.h.


Member Data Documentation

QString ActionID::m_context [private]

Definition at line 61 of file actionid.h.

Referenced by GetContext(), and operator==().

QString ActionID::m_action [private]

Definition at line 62 of file actionid.h.

Referenced by GetAction(), and operator==().


The documentation for this class was generated from the following file:

Generated on Sat Dec 18 05:15:59 2010 for MythTV by  doxygen 1.5.5