digiKam
Digikam::ItemCopyMoveHint Class Reference

Public Member Functions

int albumIdDst () const
 
int albumRootIdDst () const
 
CollectionScannerHints::Album dst () const
 
QString dstName (qlonglong id) const
 
QStringList dstNames () const
 
bool isDstAlbum (int albumRootId, int albumId) const
 
bool isSrcId (qlonglong id) const
 
 ItemCopyMoveHint ()
 
 ItemCopyMoveHint (const QList< qlonglong > &srcIds, int dstAlbumRootId, int albumId, const QStringList &dstNames)
 
 operator const CollectionScannerHints::Album & () const
 
bool operator== (const CollectionScannerHints::Album &dst) const
 
QList< qlonglong > srcIds () const
 

Protected Attributes

CollectionScannerHints::Album m_dst
 
QStringList m_dstNames
 
QList< qlonglong > m_srcIds
 

Constructor & Destructor Documentation

◆ ItemCopyMoveHint() [1/2]

Digikam::ItemCopyMoveHint::ItemCopyMoveHint ( )

An ItemCopyMoveHint describes a list of existing items that will be copied, moved or renamed to an album given by album root id and album id. In the new album, the items will have the filenames given in dstNames.

◆ ItemCopyMoveHint() [2/2]

Digikam::ItemCopyMoveHint::ItemCopyMoveHint ( const QList< qlonglong > &  srcIds,
int  dstAlbumRootId,
int  albumId,
const QStringList &  dstNames 
)

Member Function Documentation

◆ albumIdDst()

int Digikam::ItemCopyMoveHint::albumIdDst ( ) const

◆ albumRootIdDst()

int Digikam::ItemCopyMoveHint::albumRootIdDst ( ) const

◆ dst()

CollectionScannerHints::Album Digikam::ItemCopyMoveHint::dst ( ) const
inline

◆ dstName()

QString Digikam::ItemCopyMoveHint::dstName ( qlonglong  id) const

References m_dstNames, and m_srcIds.

◆ dstNames()

QStringList Digikam::ItemCopyMoveHint::dstNames ( ) const

◆ isDstAlbum()

bool Digikam::ItemCopyMoveHint::isDstAlbum ( int  albumRootId,
int  albumId 
) const

◆ isSrcId()

bool Digikam::ItemCopyMoveHint::isSrcId ( qlonglong  id) const

References m_srcIds.

◆ operator const CollectionScannerHints::Album &()

Digikam::ItemCopyMoveHint::operator const CollectionScannerHints::Album & ( ) const
inline

◆ operator==()

bool Digikam::ItemCopyMoveHint::operator== ( const CollectionScannerHints::Album dst) const
inline

◆ srcIds()

QList< qlonglong > Digikam::ItemCopyMoveHint::srcIds ( ) const

Member Data Documentation

◆ m_dst

CollectionScannerHints::Album Digikam::ItemCopyMoveHint::m_dst
protected

◆ m_dstNames

QStringList Digikam::ItemCopyMoveHint::m_dstNames
protected

Referenced by dstName(), and dstNames().

◆ m_srcIds

QList<qlonglong> Digikam::ItemCopyMoveHint::m_srcIds
protected

Referenced by dstName(), isSrcId(), and srcIds().


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