MythTV  0.26-pre
Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
MythUIStateTracker Class Reference

#include <mythuistatetracker.h>

List of all members.

Static Public Member Functions

static void SetState (QVariantMap &newstate)
static void GetState (QVariantMap &state)
static void GetFreshState (QVariantMap &state)

Protected Member Functions

 MythUIStateTracker ()

Static Protected Member Functions

static MythUIStateTrackerGetMythUIStateTracker (void)
static int TimeSinceLastUpdate (void)

Protected Attributes

QVariantMap m_state
QTime m_lastUpdated

Static Protected Attributes

static MythUIStateTrackergUIState = NULL
static QMutex * gUIStateLock = new QMutex()

Detailed Description

Definition at line 10 of file mythuistatetracker.h.


Constructor & Destructor Documentation

MythUIStateTracker::MythUIStateTracker ( ) [inline, protected]

Definition at line 23 of file mythuistatetracker.h.

Referenced by GetMythUIStateTracker().


Member Function Documentation

void MythUIStateTracker::SetState ( QVariantMap &  newstate) [static]

Definition at line 20 of file mythuistatetracker.cpp.

Referenced by MythMainWindow::customEvent(), and TV::GetStatus().

void MythUIStateTracker::GetState ( QVariantMap &  state) [static]

Definition at line 30 of file mythuistatetracker.cpp.

Referenced by GetFreshState().

void MythUIStateTracker::GetFreshState ( QVariantMap &  state) [static]

Definition at line 11 of file mythuistatetracker.cpp.

Referenced by GetState(), SetState(), and TimeSinceLastUpdate().

Definition at line 57 of file mythuistatetracker.cpp.

Referenced by GetFreshState().


Member Data Documentation

MythUIStateTracker * MythUIStateTracker::gUIState = NULL [static, protected]

Definition at line 20 of file mythuistatetracker.h.

Referenced by GetMythUIStateTracker().

QMutex * MythUIStateTracker::gUIStateLock = new QMutex() [static, protected]
QVariantMap MythUIStateTracker::m_state [protected]

Definition at line 25 of file mythuistatetracker.h.

Referenced by GetState(), and SetState().

Definition at line 26 of file mythuistatetracker.h.

Referenced by SetState(), and TimeSinceLastUpdate().


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