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

#include <mythburn.h>

Inheritance diagram for MythBurn:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 MythBurn (MythScreenStack *parent, MythScreenType *destinationScreen, MythScreenType *themeScreen, ArchiveDestination archiveDestination, QString name)
 ~MythBurn (void)
bool Create (void)
bool keyPressEvent (QKeyEvent *)
 Key event handler.
void createConfigFile (const QString &filename)

Protected Slots

void handleNextPage (void)
void handlePrevPage (void)
void handleCancel (void)
void handleAddRecording (void)
void handleAddVideo (void)
void handleAddFile (void)
void toggleUseCutlist (void)
void showMenu (void)
void editDetails (void)
void editThumbnails (void)
void changeProfile (void)
void profileChanged (int profileNo)
void removeItem (void)
void selectorClosed (bool ok)
void editorClosed (bool ok, ArchiveItem *item)
void itemClicked (MythUIButtonListItem *item)

Private Member Functions

void updateArchiveList (void)
void updateSizeBar ()
void loadConfiguration (void)
void saveConfiguration (void)
EncoderProfilegetProfileFromName (const QString &profileName)
QString loadFile (const QString &filename)
bool isArchiveItemValid (const QString &type, const QString &filename)
void loadEncoderProfiles (void)
EncoderProfilegetDefaultProfile (ArchiveItem *item)
void setProfile (EncoderProfile *profile, ArchiveItem *item)
void runScript ()

Private Attributes

MythScreenTypem_destinationScreen
MythScreenTypem_themeScreen
ArchiveDestination m_archiveDestination
QList< ArchiveItem * > m_archiveList
QList< EncoderProfile * > m_profileList
bool m_bCreateISO
bool m_bDoBurn
bool m_bEraseDvdRw
QString m_saveFilename
QString m_theme
bool m_moveMode
MythUIButtonm_nextButton
MythUIButtonm_prevButton
MythUIButtonm_cancelButton
MythUIButtonListm_archiveButtonList
MythUITextm_nofilesText
MythUIButtonm_addrecordingButton
MythUIButtonm_addvideoButton
MythUIButtonm_addfileButton
MythUIProgressBarm_sizeBar
MythUITextm_maxsizeText
MythUITextm_minsizeText
MythUITextm_currentsizeErrorText
MythUITextm_currentsizeText

Detailed Description

Definition at line 48 of file mythburn.h.


Constructor & Destructor Documentation

MythBurn::MythBurn ( MythScreenStack parent,
MythScreenType destinationScreen,
MythScreenType themeScreen,
ArchiveDestination  archiveDestination,
QString  name 
)

Definition at line 44 of file mythburn.cpp.

Definition at line 79 of file mythburn.cpp.


Member Function Documentation

bool MythBurn::Create ( void  ) [virtual]

Reimplemented from MythScreenType.

Definition at line 92 of file mythburn.cpp.

Referenced by DVDThemeSelector::handleNextPage().

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 148 of file mythburn.cpp.

void MythBurn::createConfigFile ( const QString &  filename)

Definition at line 595 of file mythburn.cpp.

Referenced by runScript().

void MythBurn::handleNextPage ( void  ) [protected, slot]

Definition at line 362 of file mythburn.cpp.

Referenced by Create().

void MythBurn::handlePrevPage ( void  ) [protected, slot]

Definition at line 373 of file mythburn.cpp.

Referenced by Create().

void MythBurn::handleCancel ( void  ) [protected, slot]

Definition at line 378 of file mythburn.cpp.

Referenced by Create().

void MythBurn::handleAddRecording ( void  ) [protected, slot]

Definition at line 979 of file mythburn.cpp.

Referenced by Create().

void MythBurn::handleAddVideo ( void  ) [protected, slot]

Definition at line 999 of file mythburn.cpp.

Referenced by Create().

void MythBurn::handleAddFile ( void  ) [protected, slot]

Definition at line 1023 of file mythburn.cpp.

Referenced by Create().

void MythBurn::toggleUseCutlist ( void  ) [protected, slot]

Definition at line 327 of file mythburn.cpp.

Referenced by keyPressEvent(), and showMenu().

void MythBurn::showMenu ( void  ) [protected, slot]

Definition at line 795 of file mythburn.cpp.

Referenced by keyPressEvent().

void MythBurn::editDetails ( void  ) [protected, slot]

Definition at line 845 of file mythburn.cpp.

Referenced by showMenu().

void MythBurn::editThumbnails ( void  ) [protected, slot]

Definition at line 864 of file mythburn.cpp.

Referenced by keyPressEvent(), and showMenu().

void MythBurn::changeProfile ( void  ) [protected, slot]

Definition at line 893 of file mythburn.cpp.

Referenced by showMenu().

void MythBurn::profileChanged ( int  profileNo) [protected, slot]

Definition at line 914 of file mythburn.cpp.

Referenced by changeProfile().

void MythBurn::removeItem ( void  ) [protected, slot]

Definition at line 832 of file mythburn.cpp.

Referenced by keyPressEvent(), and showMenu().

void MythBurn::selectorClosed ( bool  ok) [protected, slot]

Definition at line 993 of file mythburn.cpp.

Referenced by handleAddFile(), handleAddRecording(), and handleAddVideo().

void MythBurn::editorClosed ( bool  ok,
ArchiveItem item 
) [protected, slot]

Definition at line 880 of file mythburn.cpp.

Referenced by editDetails().

void MythBurn::itemClicked ( MythUIButtonListItem item) [protected, slot]

Definition at line 1040 of file mythburn.cpp.

Referenced by Create().

Definition at line 410 of file mythburn.cpp.

Referenced by Create(), removeItem(), and selectorClosed().

Definition at line 213 of file mythburn.cpp.

Referenced by profileChanged(), toggleUseCutlist(), and updateArchiveList().

Definition at line 683 of file mythburn.cpp.

Referenced by Create().

Definition at line 743 of file mythburn.cpp.

Referenced by ~MythBurn().

EncoderProfile * MythBurn::getProfileFromName ( const QString &  profileName) [private]

Definition at line 734 of file mythburn.cpp.

Referenced by loadConfiguration().

QString MythBurn::loadFile ( const QString &  filename) [private]

Definition at line 385 of file mythburn.cpp.

bool MythBurn::isArchiveItemValid ( const QString &  type,
const QString &  filename 
) [private]

Definition at line 497 of file mythburn.cpp.

Definition at line 254 of file mythburn.cpp.

Referenced by Create().

Definition at line 545 of file mythburn.cpp.

Referenced by updateArchiveList().

void MythBurn::setProfile ( EncoderProfile profile,
ArchiveItem item 
) [private]
void MythBurn::runScript ( ) [private]

Definition at line 937 of file mythburn.cpp.

Referenced by handleNextPage().


Member Data Documentation

Definition at line 97 of file mythburn.h.

Referenced by handleCancel(), and runScript().

Definition at line 98 of file mythburn.h.

Referenced by handleCancel(), and runScript().

Definition at line 99 of file mythburn.h.

Referenced by createConfigFile(), and updateSizeBar().

Definition at line 104 of file mythburn.h.

Referenced by createConfigFile(), and loadConfiguration().

Definition at line 105 of file mythburn.h.

Referenced by createConfigFile(), and loadConfiguration().

Definition at line 106 of file mythburn.h.

Referenced by createConfigFile(), and loadConfiguration().

QString MythBurn::m_saveFilename [private]

Definition at line 107 of file mythburn.h.

Referenced by createConfigFile(), and loadConfiguration().

QString MythBurn::m_theme [private]

Definition at line 108 of file mythburn.h.

Referenced by createConfigFile(), editThumbnails(), and loadConfiguration().

Definition at line 110 of file mythburn.h.

Referenced by itemClicked(), and keyPressEvent().

Definition at line 112 of file mythburn.h.

Referenced by Create().

Definition at line 113 of file mythburn.h.

Referenced by Create().

Definition at line 114 of file mythburn.h.

Referenced by Create().

Definition at line 117 of file mythburn.h.

Referenced by Create(), and updateArchiveList().

Definition at line 118 of file mythburn.h.

Referenced by Create().

Definition at line 119 of file mythburn.h.

Referenced by Create().

Definition at line 120 of file mythburn.h.

Referenced by Create().

Definition at line 123 of file mythburn.h.

Referenced by Create(), and updateSizeBar().

Definition at line 124 of file mythburn.h.

Referenced by Create(), and updateSizeBar().

Definition at line 125 of file mythburn.h.

Referenced by Create(), and updateSizeBar().

Definition at line 126 of file mythburn.h.

Referenced by Create(), and updateSizeBar().

Definition at line 127 of file mythburn.h.

Referenced by Create(), and updateSizeBar().


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