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

Public Slots

void slotAlbumCurrentChanged ()
 
void slotAlbumDeleted (Album *album)
 
void slotAlbumsCleared ()
 
void slotAlbumSelected ()
 
void slotClearSelectPAlbum (const ItemInfo &imageInfo)
 
void slotClearSelectTAlbum (int id)
 
void slotCurrentChange (const ItemInfo &info)
 
void slotImageSelected (const ItemInfoList &selectedImage)
 

Signals

void signalSetCurrent (qlonglong imageId)
 
void signalSetSelectedInfos (const QList< ItemInfo > &)
 

Public Member Functions

void addAlbums (const QList< Album * > &albums, QWidget *const widget, const QHash< LabelsTreeView::Labels, QList< int > > &selectedLabels)
 AlbumHistory::addAlbums A special overloaded function for handling AlbumHistory for the Labels tree-view. More...
 
void addAlbums (const QList< Album * > &albums, QWidget *const widget=nullptr)
 
 AlbumHistory (QObject *const parent=nullptr)
 
void back (QList< Album * > &album, QWidget **const widget, unsigned int steps=1)
 
void clearHistory ()
 
void deleteAlbum (Album *const album)
 
void forward (QList< Album * > &album, QWidget **const widget, unsigned int steps=1)
 
void getBackwardHistory (QStringList &list) const
 
void getCurrentAlbum (Album **const album, QWidget **const widget) const
 
void getForwardHistory (QStringList &list) const
 
bool isBackwardEmpty () const
 
bool isForwardEmpty () const
 
QHash< LabelsTreeView::Labels, QList< int > > neededLabels ()
 
 ~AlbumHistory () override
 

Detailed Description

Manages the history of the last visited albums.

The user is able to navigate through the albums, he has opened during a session.

Constructor & Destructor Documentation

◆ AlbumHistory()

Digikam::AlbumHistory::AlbumHistory ( QObject *const  parent = nullptr)
explicit

◆ ~AlbumHistory()

Digikam::AlbumHistory::~AlbumHistory ( )
override

References clearHistory().

Member Function Documentation

◆ addAlbums() [1/2]

void Digikam::AlbumHistory::addAlbums ( const QList< Album * > &  albums,
QWidget *const  widget,
const QHash< LabelsTreeView::Labels, QList< int > > &  selectedLabels 
)

AlbumHistory::addAlbums A special overloaded function for handling AlbumHistory for the Labels tree-view.

Author
Mohamed_Anwer

◆ addAlbums() [2/2]

void Digikam::AlbumHistory::addAlbums ( const QList< Album * > &  albums,
QWidget *const  widget = nullptr 
)

◆ back()

void Digikam::AlbumHistory::back ( QList< Album * > &  album,
QWidget **const  widget,
unsigned int  steps = 1 
)

◆ clearHistory()

void Digikam::AlbumHistory::clearHistory ( )

◆ deleteAlbum()

void Digikam::AlbumHistory::deleteAlbum ( Album *const  album)

Referenced by slotAlbumDeleted().

◆ forward()

void Digikam::AlbumHistory::forward ( QList< Album * > &  album,
QWidget **const  widget,
unsigned int  steps = 1 
)

◆ getBackwardHistory()

void Digikam::AlbumHistory::getBackwardHistory ( QStringList &  list) const

◆ getCurrentAlbum()

void Digikam::AlbumHistory::getCurrentAlbum ( Album **const  album,
QWidget **const  widget 
) const

◆ getForwardHistory()

void Digikam::AlbumHistory::getForwardHistory ( QStringList &  list) const

◆ isBackwardEmpty()

bool Digikam::AlbumHistory::isBackwardEmpty ( ) const

◆ isForwardEmpty()

bool Digikam::AlbumHistory::isForwardEmpty ( ) const

◆ neededLabels()

QHash< LabelsTreeView::Labels, QList< int > > Digikam::AlbumHistory::neededLabels ( )

◆ signalSetCurrent

void Digikam::AlbumHistory::signalSetCurrent ( qlonglong  imageId)
signal

Referenced by slotAlbumSelected().

◆ signalSetSelectedInfos

void Digikam::AlbumHistory::signalSetSelectedInfos ( const QList< ItemInfo > &  )
signal

Referenced by slotAlbumCurrentChanged().

◆ slotAlbumCurrentChanged

void Digikam::AlbumHistory::slotAlbumCurrentChanged ( )
slot

◆ slotAlbumDeleted

void Digikam::AlbumHistory::slotAlbumDeleted ( Album album)
slot

References deleteAlbum().

◆ slotAlbumsCleared

void Digikam::AlbumHistory::slotAlbumsCleared ( )
slot

References clearHistory().

◆ slotAlbumSelected

void Digikam::AlbumHistory::slotAlbumSelected ( )
slot

◆ slotClearSelectPAlbum

void Digikam::AlbumHistory::slotClearSelectPAlbum ( const ItemInfo imageInfo)
slot

◆ slotClearSelectTAlbum

void Digikam::AlbumHistory::slotClearSelectTAlbum ( int  id)
slot

◆ slotCurrentChange

void Digikam::AlbumHistory::slotCurrentChange ( const ItemInfo info)
slot

◆ slotImageSelected

void Digikam::AlbumHistory::slotImageSelected ( const ItemInfoList selectedImage)
slot

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