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

Public Member Functions

void enableAddButton (bool value)
 enableAddButton - disable Add Button when selection is empty or only root tag is selected More...
 
void restoreSettings ()
 restoreSettings - read settings from digikam_tagsmanagerrc config and populate model with data More...
 
void saveSettings ()
 saveSettings - save settings to digiKam_tagsmanagerrc KConfig More...
 
 TagList (TagMngrTreeView *const treeView, QWidget *const parent)
 
 ~TagList () override
 

Constructor & Destructor Documentation

◆ TagList()

Digikam::TagList::TagList ( TagMngrTreeView *const  treeView,
QWidget *const  parent 
)
explicit

◆ ~TagList()

Digikam::TagList::~TagList ( )
override

Member Function Documentation

◆ enableAddButton()

void Digikam::TagList::enableAddButton ( bool  value)

enableAddButton - disable Add Button when selection is empty or only root tag is selected

References value.

◆ restoreSettings()

void Digikam::TagList::restoreSettings ( )

restoreSettings - read settings from digikam_tagsmanagerrc config and populate model with data

If config is empty add generic All Tags

Use this map to find all List Items that contain specific tag usually to remove deleted tag

"All Tags" item should be selected

References Digikam::AlbumManager::findTAlbum(), Digikam::ListItem::getTagIds(), Digikam::Album::id(), and Digikam::AlbumManager::instance().

Referenced by TagList().

◆ saveSettings()

void Digikam::TagList::saveSettings ( )

saveSettings - save settings to digiKam_tagsmanagerrc KConfig

References Digikam::ListItem::getTagIds().


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