digiKam
Digikam::DIO Class Reference
+ Inheritance diagram for Digikam::DIO:

Signals

void signalRenameFailed (const QUrl &url)
 
void signalRenameFinished ()
 
void signalTrashFinished ()
 

Static Public Member Functions

static void cleanUp ()
 
static void copy (const QList< ItemInfo > &infos, const QUrl &dest)
 Copy items to external folder. More...
 
static void copy (const QList< ItemInfo > &infos, PAlbum *const dest)
 Copy items to another album. More...
 
static void copy (const QList< QUrl > &srcList, PAlbum *const dest)
 Copy external files to another album. More...
 
static void copy (const QUrl &src, PAlbum *const dest)
 Copy an external file to another album. More...
 
static void copy (PAlbum *const src, PAlbum *const dest)
 Copy an album to another album. More...
 
static void del (const ItemInfo &info, bool useTrash)
 
static void del (const QList< ItemInfo > &infos, bool useTrash)
 
static void del (PAlbum *const album, bool useTrash)
 
static void emptyTrash (const DTrashItemInfoList &infos)
 
static DIOinstance ()
 
static bool itemsUnderProcessing ()
 
static void move (const QList< ItemInfo > &infos, PAlbum *const dest)
 Move items to another album. More...
 
static void move (const QList< QUrl > &srcList, PAlbum *const dest)
 Move external files into another album. More...
 
static void move (const QUrl &src, PAlbum *const dest)
 Move external files another album. More...
 
static void move (PAlbum *const src, PAlbum *const dest)
 Move an album into another album. More...
 
static void rename (const QUrl &src, const QString &newName, bool overwrite=false)
 Rename item to new name. More...
 
static void restoreTrash (const DTrashItemInfoList &infos)
 Trash operations. More...
 

Friends

class DIOCreator
 

Member Function Documentation

◆ cleanUp()

void Digikam::DIO::cleanUp ( )
static

◆ copy() [1/5]

void Digikam::DIO::copy ( const QList< ItemInfo > &  infos,
const QUrl &  dest 
)
static

Copy items to external folder.

References Digikam::IOJobData::CopyToExt, and instance().

◆ copy() [2/5]

void Digikam::DIO::copy ( const QList< ItemInfo > &  infos,
PAlbum *const  dest 
)
static

Copy items to another album.

References Digikam::IOJobData::CopyImage, and instance().

◆ copy() [3/5]

void Digikam::DIO::copy ( const QList< QUrl > &  srcList,
PAlbum *const  dest 
)
static

Copy external files to another album.

References Digikam::IOJobData::CopyFiles, and instance().

◆ copy() [4/5]

void Digikam::DIO::copy ( const QUrl &  src,
PAlbum *const  dest 
)
static

Copy an external file to another album.

References copy().

◆ copy() [5/5]

void Digikam::DIO::copy ( PAlbum *const  src,
PAlbum *const  dest 
)
static

Copy an album to another album.

All DIO methods will take care for sidecar files, if they exist

References Digikam::IOJobData::CopyAlbum, and instance().

Referenced by copy(), Digikam::ItemViewUtilities::copyItemsToExternalFolder(), Digikam::AlbumDragDropHandler::dropEvent(), and Digikam::ItemDragDropHandler::dropEvent().

◆ del() [1/3]

void Digikam::DIO::del ( const ItemInfo info,
bool  useTrash 
)
static

References del().

◆ del() [2/3]

◆ del() [3/3]

◆ emptyTrash()

void Digikam::DIO::emptyTrash ( const DTrashItemInfoList infos)
static

◆ instance()

◆ itemsUnderProcessing()

bool Digikam::DIO::itemsUnderProcessing ( )
static

References instance().

◆ move() [1/4]

void Digikam::DIO::move ( const QList< ItemInfo > &  infos,
PAlbum *const  dest 
)
static

Move items to another album.

References instance(), and Digikam::IOJobData::MoveImage.

◆ move() [2/4]

void Digikam::DIO::move ( const QList< QUrl > &  srcList,
PAlbum *const  dest 
)
static

Move external files into another album.

References instance(), and Digikam::IOJobData::MoveFiles.

◆ move() [3/4]

void Digikam::DIO::move ( const QUrl &  src,
PAlbum *const  dest 
)
static

Move external files another album.

References move().

◆ move() [4/4]

◆ rename()

void Digikam::DIO::rename ( const QUrl &  src,
const QString &  newName,
bool  overwrite = false 
)
static

◆ restoreTrash()

void Digikam::DIO::restoreTrash ( const DTrashItemInfoList infos)
static

Trash operations.

References instance(), and Digikam::IOJobData::Restore.

◆ signalRenameFailed

void Digikam::DIO::signalRenameFailed ( const QUrl &  url)
signal

◆ signalRenameFinished

void Digikam::DIO::signalRenameFinished ( )
signal

◆ signalTrashFinished

void Digikam::DIO::signalTrashFinished ( )
signal

Friends And Related Function Documentation

◆ DIOCreator

friend class DIOCreator
friend

The documentation for this class was generated from the following files: