archiveutil.cpp File Reference

Go to the source code of this file.

Functions

QString formatSize (long long sizeKB, int prec)
QString getTempDirectory (bool showError)
void checkTempDirectory ()
QString getBaseName (const QString &filename)
bool extractDetailsFromFilename (const QString &inFile, QString &chanID, QString &startTime)
ProgramInfogetProgramInfoForFile (const QString &inFile)
bool getFileDetails (ArchiveItem *a)
void showWarningDialog (const QString msg)

Variables

struct ArchiveDestination ArchiveDestinations []
int ArchiveDestinationsCount = sizeof(ArchiveDestinations) / sizeof(ArchiveDestinations[0])


Function Documentation

QString formatSize ( long long  sizeKB,
int  prec 
)

QString getTempDirectory ( bool  showError  ) 

void checkTempDirectory (  ) 

Definition at line 80 of file archiveutil.cpp.

Referenced by runCreateArchive(), runCreateDVD(), and runImportVideo().

QString getBaseName ( const QString &  filename  ) 

bool extractDetailsFromFilename ( const QString &  inFile,
QString &  chanID,
QString &  startTime 
)

ProgramInfo* getProgramInfoForFile ( const QString &  inFile  ) 

Definition at line 157 of file archiveutil.cpp.

Referenced by getCutFrames(), getFrameCount(), and ThumbFinder::loadCutList().

bool getFileDetails ( ArchiveItem a  ) 

void showWarningDialog ( const QString  msg  ) 

Definition at line 258 of file archiveutil.cpp.

Referenced by checkLockFile(), runBurnDVD(), runShowLog(), and runTestDVD().


Variable Documentation

Initial value:

{
    {AD_DVD_SL,   "Single Layer DVD", "Single Layer DVD (4482Mb)", 4482*1024},
    {AD_DVD_DL,   "Dual Layer DVD",   "Dual Layer DVD (8964Mb)",   8964*1024},
    {AD_DVD_RW,   "DVD +/- RW",       "Rewritable DVD",            4482*1024},
    {AD_FILE,     "File",             "Any file accessable from "
            "your filesystem.",          -1},
}

Definition at line 25 of file archiveutil.cpp.

Referenced by MythburnWizard::filenameEditLostFocus(), ExportNativeWizard::filenameEditLostFocus(), MythburnWizard::setDestination(), ExportNativeWizard::setDestination(), MythburnWizard::wireUpTheme(), and ExportNativeWizard::wireUpTheme().


Generated on Sat Dec 18 05:15:50 2010 for MythTV by  doxygen 1.5.5