MythTV
master
|
#include <cerrno>
#include <cstdlib>
#include <iostream>
#include <sys/stat.h>
#include <unistd.h>
#include <QDomDocument>
#include <QDir>
#include <QCoreApplication>
#include <mythcontext.h>
#include <programinfo.h>
#include <mythmainwindow.h>
#include <mythdialogbox.h>
#include <mythdate.h>
#include <mythsystemlegacy.h>
#include <exitcodes.h>
#include <mythlogging.h>
#include "archiveutil.h"
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) |
ProgramInfo * | getProgramInfoForFile (const QString &inFile) |
bool | getFileDetails (ArchiveItem *a) |
void | showWarningDialog (const QString &msg) |
void | recalcItemSize (ArchiveItem *item) |
Variables | |
std::vector< ArchiveDestination > | ArchiveDestinations |
QString formatSize | ( | int64_t | sizeKB, |
int | prec | ||
) |
Definition at line 47 of file archiveutil.cpp.
QString getTempDirectory | ( | bool | showError | ) |
Definition at line 68 of file archiveutil.cpp.
Referenced by burnISOImage(), checkTempDirectory(), createISOImage(), ThumbFinder::createThumbDir(), BurnMenu::doBurn(), NativeArchive::doNativeArchive(), ThumbFinder::initAVCodec(), MythBurn::MythBurn(), NativeArchive::NativeArchive(), runCreateArchive(), runCreateDVD(), runImportVideo(), ExportNative::runScript(), MythBurn::runScript(), runTestDVD(), showLogViewer(), and NativeArchive::~NativeArchive().
void checkTempDirectory | ( | ) |
Definition at line 92 of file archiveutil.cpp.
Referenced by runCreateArchive(), runCreateDVD(), and runImportVideo().
QString getBaseName | ( | const QString & | filename | ) |
Definition at line 145 of file archiveutil.cpp.
Referenced by extractDetailsFromFilename(), and MythBurn::isArchiveItemValid().
bool extractDetailsFromFilename | ( | const QString & | inFile, |
QString & | chanID, | ||
QString & | startTime | ||
) |
Definition at line 155 of file archiveutil.cpp.
Referenced by getProgramInfoForFile().
ProgramInfo* getProgramInfoForFile | ( | const QString & | inFile | ) |
Definition at line 185 of file archiveutil.cpp.
Referenced by getCutFrames(), getFrameCount(), and ThumbFinder::loadCutList().
bool getFileDetails | ( | ArchiveItem * | a | ) |
Definition at line 221 of file archiveutil.cpp.
Referenced by ThumbFinder::getThumbImages(), and MythBurn::updateArchiveList().
void showWarningDialog | ( | const QString & | msg | ) |
Definition at line 294 of file archiveutil.cpp.
Referenced by checkLockFile(), BurnMenu::doBurn(), runTestDVD(), showLogViewer(), and BurnMenu::start().
void recalcItemSize | ( | ArchiveItem * | item | ) |
Definition at line 303 of file archiveutil.cpp.
Referenced by ProfileDialog::profileChanged(), MythBurn::toggleUseCutlist(), and MythBurn::updateArchiveList().
std::vector<ArchiveDestination> ArchiveDestinations |
Definition at line 28 of file archiveutil.cpp.
Referenced by SelectDestination::Create(), and SelectDestination::setDestination().