digiKam
ShowFoto::ShowfotoStackViewFavoriteList Class Reference
+ Inheritance diagram for ShowFoto::ShowfotoStackViewFavoriteList:

Public Slots

void slotLoadContents ()
 

Signals

void signalAddFavorite ()
 
void signalAddFavorite (const QList< QUrl > &, const QUrl &current)
 
void signalLoadContentsFromFiles (const QStringList &files, const QString &current)
 
void signalSearchResult (int)
 

Public Member Functions

QString filter () const
 
ShowfotoStackViewFavoriteItemfindFavoriteByHierarchy (const QString &hierarchy)
 
void setFilter (const QString &filter, Qt::CaseSensitivity cs)
 
 ShowfotoStackViewFavoriteList (ShowfotoStackViewFavorites *const parent)
 
 ~ShowfotoStackViewFavoriteList () override
 

Constructor & Destructor Documentation

◆ ShowfotoStackViewFavoriteList()

ShowFoto::ShowfotoStackViewFavoriteList::ShowfotoStackViewFavoriteList ( ShowfotoStackViewFavorites *const  parent)
explicit

◆ ~ShowfotoStackViewFavoriteList()

ShowFoto::ShowfotoStackViewFavoriteList::~ShowfotoStackViewFavoriteList ( )
override

Member Function Documentation

◆ filter()

QString ShowFoto::ShowfotoStackViewFavoriteList::filter ( ) const

Return the current string used to filter the favorites list.

Referenced by setFilter().

◆ findFavoriteByHierarchy()

ShowfotoStackViewFavoriteItem * ShowFoto::ShowfotoStackViewFavoriteList::findFavoriteByHierarchy ( const QString &  hierarchy)

◆ setFilter()

void ShowFoto::ShowfotoStackViewFavoriteList::setFilter ( const QString &  filter,
Qt::CaseSensitivity  cs 
)

Set the string used to filter the favorites list. signalSearchResult() is emitted when all is done.

References filter(), ShowFoto::ShowfotoStackViewFavoriteItem::name(), and signalSearchResult().

◆ signalAddFavorite [1/2]

void ShowFoto::ShowfotoStackViewFavoriteList::signalAddFavorite ( )
signal

◆ signalAddFavorite [2/2]

void ShowFoto::ShowfotoStackViewFavoriteList::signalAddFavorite ( const QList< QUrl > &  ,
const QUrl &  current 
)
signal

◆ signalLoadContentsFromFiles

void ShowFoto::ShowfotoStackViewFavoriteList::signalLoadContentsFromFiles ( const QStringList &  files,
const QString &  current 
)
signal

Referenced by slotLoadContents().

◆ signalSearchResult

void ShowFoto::ShowfotoStackViewFavoriteList::signalSearchResult ( int  )
signal

Signal emitted when filtering is done through slotSetFilter(). Number of favorites found is sent when item relevant of filtering match the query.

Referenced by setFilter().

◆ slotLoadContents

void ShowFoto::ShowfotoStackViewFavoriteList::slotLoadContents ( )
slot

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