digiKam
|
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 | |
|
explicit |
References Digikam::AlbumManager::instance(), and restoreSettings().
|
override |
void Digikam::TagList::enableAddButton | ( | bool | value | ) |
enableAddButton - disable Add Button when selection is empty or only root tag is selected
References value.
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().
void Digikam::TagList::saveSettings | ( | ) |
saveSettings - save settings to digiKam_tagsmanagerrc KConfig
References Digikam::ListItem::getTagIds().