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

#include <videoselector.h>

Inheritance diagram for VideoSelector:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Slots

void OKPressed (void)
void cancelPressed (void)
void showMenu (void)
void selectAll (void)
void clearAll (void)
void setCategory (MythUIButtonListItem *item)
void titleChanged (MythUIButtonListItem *item)
void toggleSelected (MythUIButtonListItem *item)
void parentalLevelChanged (bool passwordValid, ParentalLevel::Level newLevel)

Signals

void haveResult (bool ok)

Public Member Functions

 VideoSelector (MythScreenStack *parent, QList< ArchiveItem * > *archiveList)
 ~VideoSelector (void)
bool Create ()
bool keyPressEvent (QKeyEvent *e)
 Key event handler.

Private Member Functions

void updateVideoList (void)
void updateSelectedList (void)
void getVideoList (void)
void wireUpTheme (void)
std::vector< VideoInfo * > * getVideoListFromDB (void)
void setParentalLevel (ParentalLevel::Level level)

Private Attributes

ParentalLevelChangeCheckerm_parentalLevelChecker
QList< ArchiveItem * > * m_archiveList
std::vector< VideoInfo * > * m_videoList
QList< VideoInfo * > m_selectedList
ParentalLevel::Level m_currentParentalLevel
MythUITextm_plText
MythUIButtonListm_videoButtonList
MythUITextm_warningText
MythUIButtonm_okButton
MythUIButtonm_cancelButton
MythUIButtonListm_categorySelector
MythUITextm_titleText
MythUITextm_filesizeText
MythUITextm_plotText
MythUIImagem_coverImage

Detailed Description

Definition at line 38 of file videoselector.h.


Constructor & Destructor Documentation

VideoSelector::VideoSelector ( MythScreenStack parent,
QList< ArchiveItem * > *  archiveList 
)

Definition at line 27 of file videoselector.cpp.

Definition at line 39 of file videoselector.cpp.


Member Function Documentation

bool VideoSelector::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 51 of file videoselector.cpp.

Referenced by ExportNative::handleAddVideo(), and MythBurn::handleAddVideo().

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 103 of file videoselector.cpp.

Referenced by cancelPressed(), and OKPressed().

Definition at line 255 of file videoselector.cpp.

Referenced by Create().

Definition at line 335 of file videoselector.cpp.

Referenced by Create(), and getVideoList().

Definition at line 147 of file videoselector.cpp.

Referenced by keyPressEvent().

Definition at line 162 of file videoselector.cpp.

Referenced by showMenu().

Definition at line 179 of file videoselector.cpp.

Referenced by showMenu().

Definition at line 502 of file videoselector.cpp.

Referenced by Create(), and getVideoList().

Definition at line 209 of file videoselector.cpp.

Referenced by Create(), and updateVideoList().

Definition at line 188 of file videoselector.cpp.

Referenced by Create().

void VideoSelector::parentalLevelChanged ( bool  passwordValid,
ParentalLevel::Level  newLevel 
) [slot]

Definition at line 538 of file videoselector.cpp.

Referenced by VideoSelector().

Definition at line 341 of file videoselector.cpp.

Referenced by clearAll(), Create(), parentalLevelChanged(), selectAll(), and setCategory().

Definition at line 508 of file videoselector.cpp.

Referenced by Create().

Definition at line 462 of file videoselector.cpp.

Referenced by Create().

vector< VideoInfo * > * VideoSelector::getVideoListFromDB ( void  ) [private]

Definition at line 396 of file videoselector.cpp.

Referenced by getVideoList().

Definition at line 533 of file videoselector.cpp.

Referenced by Create(), and keyPressEvent().


Member Data Documentation

Definition at line 75 of file videoselector.h.

Referenced by setParentalLevel(), VideoSelector(), and ~VideoSelector().

Definition at line 77 of file videoselector.h.

Referenced by OKPressed(), updateSelectedList(), and VideoSelector().

std::vector<VideoInfo *>* VideoSelector::m_videoList [private]

Definition at line 83 of file videoselector.h.

Referenced by Create(), and parentalLevelChanged().

Definition at line 84 of file videoselector.h.

Referenced by Create(), and updateVideoList().

Definition at line 85 of file videoselector.h.

Referenced by Create(), and updateVideoList().

Definition at line 86 of file videoselector.h.

Referenced by Create().

Definition at line 87 of file videoselector.h.

Referenced by Create().

Definition at line 88 of file videoselector.h.

Referenced by Create(), getVideoList(), and updateVideoList().

Definition at line 89 of file videoselector.h.

Referenced by Create(), titleChanged(), and updateVideoList().

Definition at line 90 of file videoselector.h.

Referenced by Create(), titleChanged(), and updateVideoList().

Definition at line 91 of file videoselector.h.

Referenced by Create(), titleChanged(), and updateVideoList().

Definition at line 92 of file videoselector.h.

Referenced by Create(), titleChanged(), and updateVideoList().


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