MythTV  0.26-pre
Public Types | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes
ChannelRecPriority Class Reference

Screen for managing channel priorities in recording scheduling decisions. More...

#include <channelrecpriority.h>

Inheritance diagram for ChannelRecPriority:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Types

enum  SortType { byChannel, byRecPriority }

Public Member Functions

 ChannelRecPriority (MythScreenStack *parent)
 ~ChannelRecPriority ()
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void customEvent (QEvent *event)

Protected Slots

void updateInfo (MythUIButtonListItem *)

Private Member Functions

void FillList (void)
void SortList (void)
void updateList (void)
void ShowMenu (void)
void upcoming (void)
void changeRecPriority (int howMuch)
void applyChannelRecPriorityChange (QString, const QString &)
void saveRecPriority (void)

Private Attributes

QMap< QString, ChannelInfom_channelData
QMap< QString, ChannelInfo * > m_sortedChannel
QMap< QString, QString > m_origRecPriorityData
QMap< int, boolm_visMap
MythUIButtonListm_channelList
MythUITextm_chanstringText
MythUITextm_channameText
MythUITextm_channumText
MythUITextm_callsignText
MythUITextm_sourcenameText
MythUITextm_sourceidText
MythUITextm_priorityText
MythUIImagem_iconImage
SortType m_sortType
ChannelInfom_currentItem

Detailed Description

Screen for managing channel priorities in recording scheduling decisions.

Definition at line 22 of file channelrecpriority.h.


Member Enumeration Documentation

Enumerator:
byChannel 
byRecPriority 

Definition at line 33 of file channelrecpriority.h.


Constructor & Destructor Documentation

Definition at line 52 of file channelrecpriority.cpp.

Definition at line 68 of file channelrecpriority.cpp.


Member Function Documentation

Reimplemented from MythScreenType.

Definition at line 76 of file channelrecpriority.cpp.

Referenced by startChannelRecPriorities().

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 104 of file channelrecpriority.cpp.

void ChannelRecPriority::customEvent ( QEvent *  event) [virtual]

Reimplemented from MythUIType.

Definition at line 451 of file channelrecpriority.cpp.

Definition at line 399 of file channelrecpriority.cpp.

Referenced by changeRecPriority(), and Create().

Definition at line 244 of file channelrecpriority.cpp.

Referenced by Create().

Definition at line 344 of file channelrecpriority.cpp.

Referenced by changeRecPriority(), FillList(), and keyPressEvent().

Definition at line 298 of file channelrecpriority.cpp.

Referenced by SortList().

void ChannelRecPriority::ShowMenu ( void  ) [private, virtual]

Reimplemented from MythScreenType.

Definition at line 158 of file channelrecpriority.cpp.

Definition at line 429 of file channelrecpriority.cpp.

Referenced by customEvent(), and keyPressEvent().

Definition at line 187 of file channelrecpriority.cpp.

Referenced by keyPressEvent().

void ChannelRecPriority::applyChannelRecPriorityChange ( QString  chanid,
const QString &  newrecpriority 
) [private]

Definition at line 213 of file channelrecpriority.cpp.

Referenced by saveRecPriority().

Definition at line 226 of file channelrecpriority.cpp.

Referenced by ~ChannelRecPriority().


Member Data Documentation

Definition at line 53 of file channelrecpriority.h.

Referenced by FillList(), saveRecPriority(), SortList(), updateInfo(), and updateList().

Definition at line 54 of file channelrecpriority.h.

Referenced by FillList(), SortList(), and updateList().

QMap<QString, QString> ChannelRecPriority::m_origRecPriorityData [private]

Definition at line 55 of file channelrecpriority.h.

Referenced by FillList(), and saveRecPriority().

Definition at line 56 of file channelrecpriority.h.

Referenced by FillList(), and updateList().

Definition at line 58 of file channelrecpriority.h.

Referenced by changeRecPriority(), Create(), ShowMenu(), SortList(), upcoming(), and updateList().

Definition at line 60 of file channelrecpriority.h.

Referenced by Create(), and updateInfo().

Definition at line 61 of file channelrecpriority.h.

Definition at line 62 of file channelrecpriority.h.

Definition at line 63 of file channelrecpriority.h.

Definition at line 64 of file channelrecpriority.h.

Definition at line 65 of file channelrecpriority.h.

Definition at line 66 of file channelrecpriority.h.

Referenced by Create().

Definition at line 68 of file channelrecpriority.h.

Referenced by Create(), and updateInfo().

Definition at line 72 of file channelrecpriority.h.

Referenced by ChannelRecPriority(), SortList(), and updateList().


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