MythTV  master
Classes | 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
 

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

std::vector< ArchiveDestinationArchiveDestinations
 

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 47 of file archiveutil.cpp.

◆ getTempDirectory()

QString getTempDirectory ( bool  showError = false)

◆ checkTempDirectory()

void checkTempDirectory ( )

Definition at line 92 of file archiveutil.cpp.

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

◆ extractDetailsFromFilename()

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

Definition at line 155 of file archiveutil.cpp.

Referenced by getProgramInfoForFile().

◆ getProgramInfoForFile()

ProgramInfo* getProgramInfoForFile ( const QString &  inFile)

Definition at line 185 of file archiveutil.cpp.

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

◆ getFileDetails()

bool getFileDetails ( ArchiveItem a)

Definition at line 221 of file archiveutil.cpp.

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

◆ recalcItemSize()

void recalcItemSize ( ArchiveItem item)

◆ getBaseName()

QString getBaseName ( const QString &  filename)

Definition at line 145 of file archiveutil.cpp.

Referenced by extractDetailsFromFilename(), and MythBurn::isArchiveItemValid().

◆ showWarningDialog()

void showWarningDialog ( const QString &  msg)

Variable Documentation

◆ ArchiveDestinations

std::vector<ArchiveDestination> ArchiveDestinations
extern

Definition at line 27 of file archiveutil.cpp.

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