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

Public Member Functions

int albumCompare (const QString &a, const QString &b, Qt::CaseSensitivity caseSensitive, bool natural) const
 
int itemCompare (const QString &a, const QString &b, Qt::CaseSensitivity caseSensitive, bool natural) const
 

Static Public Member Functions

static ItemSortCollatorinstance ()
 

Friends

class ItemSortCollatorCreator
 

Member Function Documentation

◆ albumCompare()

int Digikam::ItemSortCollator::albumCompare ( const QString &  a,
const QString &  b,
Qt::CaseSensitivity  caseSensitive,
bool  natural 
) const

◆ instance()

ItemSortCollator * Digikam::ItemSortCollator::instance ( )
static

Global instance of internal item sort collator. All accessor methods are thread-safe.

Referenced by Digikam::AlbumFilterModel::lessThan(), Digikam::ItemSortSettings::naturalCompare(), and Digikam::CamItemSortSettings::naturalCompare().

◆ itemCompare()

int Digikam::ItemSortCollator::itemCompare ( const QString &  a,
const QString &  b,
Qt::CaseSensitivity  caseSensitive,
bool  natural 
) const

Friends And Related Function Documentation

◆ ItemSortCollatorCreator

friend class ItemSortCollatorCreator
friend

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