MythTV  master
Macros | Functions
galleryutil.cpp File Reference
#include <cmath>
#include <QDir>
#include <QApplication>
#include <QImageReader>
#include <mythcontext.h>
#include <mythdbcon.h>
#include <mythdate.h>
#include <mythdirs.h>
#include <mythdb.h>
#include <mythuihelper.h>
#include <mythmainwindow.h>
#include "config.h"
#include "galleryutil.h"
#include "thumbgenerator.h"
Include dependency graph for galleryutil.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("GalleryUtil:")
 

Functions

static QFileInfo MakeUnique (const QFileInfo &dest)
 
static QFileInfo MakeUniqueDirectory (const QFileInfo &dest)
 
static bool FileCopy (const QFileInfo &src, const QFileInfo &dst)
 
static bool FileMove (const QFileInfo &src, const QFileInfo &dst)
 
static bool FileDelete (const QFileInfo &file)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("GalleryUtil:")

Definition at line 50 of file galleryutil.cpp.

Function Documentation

◆ MakeUnique()

static QFileInfo MakeUnique ( const QFileInfo &  dest)
static

Definition at line 814 of file galleryutil.cpp.

Referenced by GalleryUtil::Copy(), and GalleryUtil::Move().

◆ MakeUniqueDirectory()

static QFileInfo MakeUniqueDirectory ( const QFileInfo &  dest)
static

Definition at line 833 of file galleryutil.cpp.

Referenced by GalleryUtil::CopyDirectory(), and GalleryUtil::MoveDirectory().

◆ FileCopy()

static bool FileCopy ( const QFileInfo &  src,
const QFileInfo &  dst 
)
static

Definition at line 850 of file galleryutil.cpp.

Referenced by GalleryUtil::Copy(), and FileMove().

◆ FileMove()

static bool FileMove ( const QFileInfo &  src,
const QFileInfo &  dst 
)
static

Definition at line 881 of file galleryutil.cpp.

Referenced by GalleryUtil::Move().

◆ FileDelete()

static bool FileDelete ( const QFileInfo &  file)
static