archiveutil.cpp File Reference

Go to the source code of this file.

Functions

QString formatSize (int64_t 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)
void recalcItemSize (ArchiveItem *item)

Variables

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

Function Documentation

QString formatSize ( int64_t  sizeKB,
int  prec 
)
QString getTempDirectory ( bool  showError  ) 
void checkTempDirectory (  ) 

Definition at line 96 of file archiveutil.cpp.

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

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

Definition at line 153 of file archiveutil.cpp.

Referenced by NativeArchive::exportRecording(), and getProgramInfoForFile().

ProgramInfo* getProgramInfoForFile ( const QString &  inFile  ) 

Definition at line 183 of file archiveutil.cpp.

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

bool getFileDetails ( ArchiveItem a  ) 

Definition at line 219 of file archiveutil.cpp.

Referenced by ThumbFinder::getThumbImages(), and MythBurn::updateArchiveList().

void showWarningDialog ( const QString  msg  ) 
void recalcItemSize ( ArchiveItem item  ) 

Variable Documentation

Initial value:
{
    {AD_DVD_SL,
     QT_TRANSLATE_NOOP("SelectDestination", "Single Layer DVD"),
     QT_TRANSLATE_NOOP("SelectDestination", "Single Layer DVD (4,482 MB)"),
     4482*1024},
    {AD_DVD_DL,
     QT_TRANSLATE_NOOP("SelectDestination", "Dual Layer DVD"),
     QT_TRANSLATE_NOOP("SelectDestination", "Dual Layer DVD (8,964 MB)"),
     8964*1024},
    {AD_DVD_RW,
     QT_TRANSLATE_NOOP("SelectDestination", "DVD +/- RW"),
     QT_TRANSLATE_NOOP("SelectDestination", "Rewritable DVD"),
     4482*1024},
    {AD_FILE,
     QT_TRANSLATE_NOOP("SelectDestination", "File"),
     QT_TRANSLATE_NOOP("SelectDestination", "Any file accessable from your filesystem."),
     -1},
}

Definition at line 31 of file archiveutil.cpp.

Referenced by SelectDestination::Create(), and SelectDestination::setDestination().

Definition at line 51 of file archiveutil.cpp.

Referenced by SelectDestination::Create(), and SelectDestination::setDestination().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:47 2012 for MythTV by  doxygen 1.6.3