MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Classes | Typedefs | Enumerations | Functions | Variables
archiveutil.h File Reference

Go to the source code of this file.

Classes

struct  ArchiveDestination
struct  EncoderProfile
struct  ThumbImage
struct  ArchiveItem

Typedefs

typedef struct ArchiveDestination _ArchiveDestination
typedef struct ThumbImage ThumbImage

Enumerations

enum  ARCHIVEDESTINATION { AD_DVD_SL = 0, AD_DVD_DL = 1, AD_DVD_RW = 2, AD_FILE = 3 }

Functions

 Q_DECLARE_METATYPE (ARCHIVEDESTINATION)
QString formatSize (int64_t sizeKB, int prec=2)
QString getTempDirectory (bool showError=false)
void checkTempDirectory ()
bool extractDetailsFromFilename (const QString &inFile, QString &chanID, QString &startTime)
ProgramInfogetProgramInfoForFile (const QString &inFile)
bool getFileDetails (ArchiveItem *a)
void recalcItemSize (ArchiveItem *item)
QString getBaseName (const QString &filename)
void showWarningDialog (const QString msg)

Variables

struct ArchiveDestination ArchiveDestinations []
int ArchiveDestinationsCount

Typedef Documentation

typedef struct ThumbImage ThumbImage

Enumeration Type Documentation

Enumerator:
AD_DVD_SL 
AD_DVD_DL 
AD_DVD_RW 
AD_FILE 

Definition at line 16 of file archiveutil.h.

Function Documentation

Q_DECLARE_METATYPE ( ARCHIVEDESTINATION  )
QString formatSize ( int64_t  sizeKB,
int  prec = 2 
)
QString getTempDirectory ( bool  showError = false)
void checkTempDirectory ( )

Definition at line 96 of file archiveutil.cpp.

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

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 recalcItemSize ( ArchiveItem item)
QString getBaseName ( const QString &  filename)
void showWarningDialog ( const QString  msg)

Variable Documentation

struct ArchiveDestination ArchiveDestinations[]

Definition at line 31 of file archiveutil.cpp.

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

int ArchiveDestinationsCount

Definition at line 51 of file archiveutil.cpp.

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