MythTV  master
Classes | Typedefs | Enumerations | Functions | Variables
archiveutil.h File Reference
#include <cstdint>
#include <QString>
#include <QMetaType>
Include dependency graph for archiveutil.h:
This graph shows which files directly or indirectly include this file:

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

◆ _ArchiveDestination

◆ ThumbImage

typedef struct ThumbImage ThumbImage

Enumeration Type Documentation

◆ ARCHIVEDESTINATION

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()

Q_DECLARE_METATYPE ( ARCHIVEDESTINATION  )

◆ formatSize()

QString formatSize ( int64_t  sizeKB,
int  prec = 2 
)

Definition at line 50 of file archiveutil.cpp.

◆ getTempDirectory()

QString getTempDirectory ( bool  showError = false)

◆ checkTempDirectory()

void checkTempDirectory ( )

Definition at line 93 of file archiveutil.cpp.

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

◆ extractDetailsFromFilename()

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

Definition at line 150 of file archiveutil.cpp.

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

◆ getProgramInfoForFile()

ProgramInfo* getProgramInfoForFile ( const QString &  inFile)

Definition at line 180 of file archiveutil.cpp.

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

◆ getFileDetails()

bool getFileDetails ( ArchiveItem a)

Definition at line 215 of file archiveutil.cpp.

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

◆ recalcItemSize()

void recalcItemSize ( ArchiveItem item)

◆ getBaseName()

QString getBaseName ( const QString &  filename)

◆ showWarningDialog()

void showWarningDialog ( const QString &  msg)

Variable Documentation

◆ ArchiveDestinations

struct ArchiveDestination ArchiveDestinations[]

Definition at line 28 of file archiveutil.cpp.

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

◆ ArchiveDestinationsCount

int ArchiveDestinationsCount

Definition at line 48 of file archiveutil.cpp.

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