DatabaseBox Class Reference

#include <databasebox.h>

Inheritance diagram for DatabaseBox:

MythThemedDialog MythDialog

List of all members.


Detailed Description

Definition at line 35 of file databasebox.h.


Public Member Functions

 DatabaseBox (MythMainWindow *parent, const QString dev, const QString &window_name, const QString &theme_filename, const char *name=0)
 ~DatabaseBox ()
void dealWithTracks (PlaylistItem *item_ptr)
void setCDTitle (const QString &title)
void fillCD (void)

Protected Slots

void selected (UIListGenericTree *)
void entered (UIListTreeType *, UIListGenericTree *)
void doMenus (UIListGenericTree *)
void alternateDoMenus (UIListGenericTree *, int)
void keyPressEvent (QKeyEvent *e)
void moveHeldUpDown (bool flag)
void deleteTrack (UIListGenericTree *item)
void copyNewPlaylist ()
void copyToActive ()
void deletePlaylist ()
void renamePlaylist ()
void popBackPlaylist ()
void clearActive ()
void closeActivePopup ()
void closePlaylistPopup ()
void occasionallyCheckCD ()
void keepFilling ()
void showWaiting ()
void ErrorPopup (const QString &msg)
void closeErrorPopup ()
void CreateCDAudio ()
void CreateCDMP3 ()
void BlankCDRW ()

Private Member Functions

void doSelected (UIListGenericTree *, bool cd_flag)
void doPlaylistPopup (TreeCheckItem *item_ptr)
void doActivePopup (PlaylistTitle *item_ptr)
void checkParent (UIListGenericTree *)
void checkTree (UIListGenericTree *startingpoint=NULL)
QPixmap getPixmap (QString &level)

Private Attributes

UIListGenericTreerootNode
UIListTreeTypetree
CDCheckItemcditem
QString m_CDdevice
bool holding_track
PlaylistTracktrack_held
TreeCheckItemallmusic
TreeCheckItemalllists
PlaylistTitleallcurrent
Playlistactive_playlist
MythPopupBoxactive_popup
MythRemoteLineEditactive_pl_edit
MythPopupBoxplaylist_popup
MythRemoteLineEditplaylist_rename
MythPopupBoxerror_popup
ReadCDThreadcd_reader_thread
QTimer * cd_watcher
bool cd_checking_flag
QTimer * fill_list_timer
int wait_counter
int numb_wait_dots
QStringList treelevels
QPtrList< UITextTypem_lines

Constructor & Destructor Documentation

DatabaseBox::DatabaseBox ( MythMainWindow parent,
const QString  dev,
const QString &  window_name,
const QString &  theme_filename,
const char *  name = 0 
)

Definition at line 33 of file databasebox.cpp.

DatabaseBox::~DatabaseBox (  ) 

Definition at line 149 of file databasebox.cpp.


Member Function Documentation

void DatabaseBox::dealWithTracks ( PlaylistItem item_ptr  ) 

Definition at line 961 of file databasebox.cpp.

Referenced by selected().

void DatabaseBox::setCDTitle ( const QString &  title  ) 

Definition at line 1265 of file databasebox.cpp.

void DatabaseBox::fillCD ( void   ) 

Definition at line 513 of file databasebox.cpp.

Referenced by DatabaseBox(), and occasionallyCheckCD().

void DatabaseBox::selected ( UIListGenericTree item  )  [protected, slot]

Definition at line 757 of file databasebox.cpp.

Referenced by keyPressEvent().

void DatabaseBox::entered ( UIListTreeType treetype,
UIListGenericTree item 
) [protected, slot]

Definition at line 613 of file databasebox.cpp.

Referenced by DatabaseBox().

void DatabaseBox::doMenus ( UIListGenericTree item  )  [protected, slot]

Definition at line 580 of file databasebox.cpp.

Referenced by keyPressEvent().

void DatabaseBox::alternateDoMenus ( UIListGenericTree item,
int  keypad_number 
) [protected, slot]

Definition at line 593 of file databasebox.cpp.

Referenced by keyPressEvent().

void DatabaseBox::keyPressEvent ( QKeyEvent *  e  )  [protected, slot]

Reimplemented from MythDialog.

Definition at line 1143 of file databasebox.cpp.

void DatabaseBox::moveHeldUpDown ( bool  flag  )  [protected, slot]

Definition at line 1135 of file databasebox.cpp.

Referenced by keyPressEvent().

void DatabaseBox::deleteTrack ( UIListGenericTree item  )  [protected, slot]

Definition at line 1076 of file databasebox.cpp.

Referenced by keyPressEvent().

void DatabaseBox::copyNewPlaylist (  )  [protected, slot]

Definition at line 250 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::copyToActive (  )  [protected, slot]

Definition at line 487 of file databasebox.cpp.

Referenced by doPlaylistPopup().

void DatabaseBox::deletePlaylist (  )  [protected, slot]

Definition at line 452 of file databasebox.cpp.

Referenced by doPlaylistPopup().

void DatabaseBox::renamePlaylist (  )  [protected, slot]

Definition at line 275 of file databasebox.cpp.

Referenced by doPlaylistPopup().

void DatabaseBox::popBackPlaylist (  )  [protected, slot]

Definition at line 314 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::clearActive (  )  [protected, slot]

Definition at line 326 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::closeActivePopup ( void   )  [protected, slot]

void DatabaseBox::closePlaylistPopup ( void   )  [protected, slot]

Definition at line 833 of file databasebox.cpp.

Referenced by copyToActive(), deletePlaylist(), doPlaylistPopup(), and renamePlaylist().

void DatabaseBox::occasionallyCheckCD (  )  [protected, slot]

Definition at line 233 of file databasebox.cpp.

Referenced by DatabaseBox().

void DatabaseBox::keepFilling (  )  [protected, slot]

Definition at line 205 of file databasebox.cpp.

Referenced by DatabaseBox().

void DatabaseBox::showWaiting (  )  [protected, slot]

Definition at line 175 of file databasebox.cpp.

Referenced by keepFilling().

void DatabaseBox::ErrorPopup ( const QString &  msg  )  [protected, slot]

Definition at line 379 of file databasebox.cpp.

Referenced by CreateCDAudio(), and CreateCDMP3().

void DatabaseBox::closeErrorPopup ( void   )  [protected, slot]

Definition at line 399 of file databasebox.cpp.

Referenced by ErrorPopup().

void DatabaseBox::CreateCDAudio (  )  [protected, slot]

Definition at line 338 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::CreateCDMP3 (  )  [protected, slot]

Definition at line 359 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::BlankCDRW (  )  [protected, slot]

Definition at line 409 of file databasebox.cpp.

Referenced by doActivePopup().

void DatabaseBox::doSelected ( UIListGenericTree item,
bool  cd_flag 
) [private]

Definition at line 984 of file databasebox.cpp.

Referenced by selected().

void DatabaseBox::doPlaylistPopup ( TreeCheckItem item_ptr  )  [private]

Definition at line 806 of file databasebox.cpp.

Referenced by alternateDoMenus(), and doMenus().

void DatabaseBox::doActivePopup ( PlaylistTitle item_ptr  )  [private]

Definition at line 843 of file databasebox.cpp.

Referenced by alternateDoMenus(), doMenus(), and selected().

void DatabaseBox::checkParent ( UIListGenericTree item  )  [private]

Definition at line 1024 of file databasebox.cpp.

Referenced by checkTree(), fillCD(), and selected().

void DatabaseBox::checkTree ( UIListGenericTree startingpoint = NULL  )  [private]

QPixmap DatabaseBox::getPixmap ( QString &  level  )  [private]


Member Data Documentation

Definition at line 84 of file databasebox.h.

Referenced by checkTree(), DatabaseBox(), and ~DatabaseBox().

Definition at line 87 of file databasebox.h.

Referenced by DatabaseBox(), fillCD(), and setCDTitle().

QString DatabaseBox::m_CDdevice [private]

Definition at line 89 of file databasebox.h.

Referenced by DatabaseBox().

Definition at line 90 of file databasebox.h.

Referenced by DatabaseBox(), dealWithTracks(), and keyPressEvent().

Definition at line 91 of file databasebox.h.

Referenced by dealWithTracks(), keyPressEvent(), and moveHeldUpDown().

Definition at line 92 of file databasebox.h.

Referenced by DatabaseBox(), keepFilling(), and showWaiting().

Definition at line 94 of file databasebox.h.

Referenced by DatabaseBox(), and keepFilling().

Definition at line 98 of file databasebox.h.

Referenced by copyNewPlaylist(), DatabaseBox(), and doActivePopup().

Definition at line 101 of file databasebox.h.

Referenced by doPlaylistPopup(), and renamePlaylist().

Definition at line 103 of file databasebox.h.

Referenced by closeErrorPopup(), CreateCDAudio(), CreateCDMP3(), and ErrorPopup().

Definition at line 105 of file databasebox.h.

Referenced by DatabaseBox(), fillCD(), occasionallyCheckCD(), and ~DatabaseBox().

QTimer* DatabaseBox::cd_watcher [private]

Definition at line 106 of file databasebox.h.

Referenced by DatabaseBox(), and ~DatabaseBox().

Definition at line 107 of file databasebox.h.

Referenced by DatabaseBox().

QTimer* DatabaseBox::fill_list_timer [private]

Definition at line 109 of file databasebox.h.

Referenced by DatabaseBox(), and keepFilling().

Definition at line 110 of file databasebox.h.

Referenced by DatabaseBox(), and showWaiting().

Definition at line 111 of file databasebox.h.

Referenced by DatabaseBox(), and showWaiting().

QStringList DatabaseBox::treelevels [private]

Definition at line 113 of file databasebox.h.

Referenced by DatabaseBox().

QPtrList<UITextType> DatabaseBox::m_lines [private]

Definition at line 115 of file databasebox.h.

Referenced by DatabaseBox(), and entered().


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

Generated on Sat Dec 18 05:16:01 2010 for MythTV by  doxygen 1.5.5