MythTV  0.26-pre
Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ZMLivePlayer Class Reference

#include <zmliveplayer.h>

Inheritance diagram for ZMLivePlayer:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 ZMLivePlayer (MythScreenStack *parent)
 ~ZMLivePlayer ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void setMonitorLayout (int layout, bool restore=false)

Private Slots

void updateFrame (void)
bool initMonitorLayout (void)
void getMonitorList (void)

Private Member Functions

MythUITypeGetMythUIType (const QString &name, bool optional=false)
bool hideAll ()
void stopPlayers (void)
void changePlayerMonitor (int playerNo)

Private Attributes

QTimer * m_frameTimer
bool m_paused
int m_monitorLayout
int m_monitorCount
vector< Player * > * m_players
vector< Monitor * > * m_monitors

Detailed Description

Definition at line 63 of file zmliveplayer.h.


Constructor & Destructor Documentation

Definition at line 35 of file zmliveplayer.cpp.

Definition at line 135 of file zmliveplayer.cpp.


Member Function Documentation

bool ZMLivePlayer::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 53 of file zmliveplayer.cpp.

Referenced by runZMLiveView().

bool ZMLivePlayer::keyPressEvent ( QKeyEvent *  ) [virtual]

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 167 of file zmliveplayer.cpp.

void ZMLivePlayer::setMonitorLayout ( int  layout,
bool  restore = false 
)

Definition at line 306 of file zmliveplayer.cpp.

Referenced by initMonitorLayout(), and keyPressEvent().

void ZMLivePlayer::updateFrame ( void  ) [private, slot]

Definition at line 252 of file zmliveplayer.cpp.

Referenced by setMonitorLayout(), and ZMLivePlayer().

bool ZMLivePlayer::initMonitorLayout ( void  ) [private, slot]

Definition at line 118 of file zmliveplayer.cpp.

Referenced by Create().

void ZMLivePlayer::getMonitorList ( void  ) [private, slot]

Definition at line 378 of file zmliveplayer.cpp.

Referenced by ZMLivePlayer().

MythUIType * ZMLivePlayer::GetMythUIType ( const QString &  name,
bool  optional = false 
) [private]

Definition at line 72 of file zmliveplayer.cpp.

Referenced by hideAll().

bool ZMLivePlayer::hideAll ( void  ) [private]

Definition at line 82 of file zmliveplayer.cpp.

Referenced by Create(), and setMonitorLayout().

Definition at line 301 of file zmliveplayer.cpp.

Referenced by setMonitorLayout().

void ZMLivePlayer::changePlayerMonitor ( int  playerNo) [private]

Definition at line 215 of file zmliveplayer.cpp.

Referenced by keyPressEvent().


Member Data Documentation

QTimer* ZMLivePlayer::m_frameTimer [private]

Definition at line 89 of file zmliveplayer.h.

Referenced by keyPressEvent(), and ZMLivePlayer().

Definition at line 90 of file zmliveplayer.h.

Referenced by keyPressEvent(), setMonitorLayout(), ZMLivePlayer(), and ~ZMLivePlayer().

Definition at line 91 of file zmliveplayer.h.

Referenced by setMonitorLayout().

vector<Player *>* ZMLivePlayer::m_players [private]
vector<Monitor *>* ZMLivePlayer::m_monitors [private]

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