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

Signals

void checkStateChanged (Album *album, Qt::CheckState checkState)
 

Public Member Functions

AlbumalbumForSelectedItems () const
 
 AlbumLabelsSearchHandler (LabelsTreeView *const treeWidget)
 
QString generatedName () const
 
QList< QUrl > imagesUrls () const
 Gets the list of images generated, for exporting. More...
 
bool isRestoringSelectionFromHistory () const
 
void restoreSelectionFromHistory (const QHash< LabelsTreeView::Labels, QList< int > > &neededLabels)
 Restores the selection of the tree-view from history. More...
 
 ~AlbumLabelsSearchHandler () override
 

Constructor & Destructor Documentation

◆ AlbumLabelsSearchHandler()

Digikam::AlbumLabelsSearchHandler::AlbumLabelsSearchHandler ( LabelsTreeView *const  treeWidget)
explicit

◆ ~AlbumLabelsSearchHandler()

Digikam::AlbumLabelsSearchHandler::~AlbumLabelsSearchHandler ( )
override

Member Function Documentation

◆ albumForSelectedItems()

Album * Digikam::AlbumLabelsSearchHandler::albumForSelectedItems ( ) const
Returns
Album pointer of the currently selected labels

◆ checkStateChanged

void Digikam::AlbumLabelsSearchHandler::checkStateChanged ( Album album,
Qt::CheckState  checkState 
)
signal

◆ generatedName()

QString Digikam::AlbumLabelsSearchHandler::generatedName ( ) const
Returns
A string for a name generated by
See also
generateAlbumNameForExporting()

◆ imagesUrls()

QList< QUrl > Digikam::AlbumLabelsSearchHandler::imagesUrls ( ) const

Gets the list of images generated, for exporting.

Returns
QUrl List of images Urls

◆ isRestoringSelectionFromHistory()

bool Digikam::AlbumLabelsSearchHandler::isRestoringSelectionFromHistory ( ) const
Returns
true if the tree-view is restoring the selection state from history to block searching until the restoring is done

Referenced by Digikam::ItemIconView::slotAlbumSelected().

◆ restoreSelectionFromHistory()

void Digikam::AlbumLabelsSearchHandler::restoreSelectionFromHistory ( const QHash< LabelsTreeView::Labels, QList< int > > &  neededLabels)

Restores the selection of the tree-view from history.

Parameters
neededLabelsa hash to restore selection from it

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