|
static AlbumList | createTAlbum (TAlbum *const mainRootAlbum, const QString &tagStr, const QString &icon, const QKeySequence &ks, QMap< QString, QString > &errMap) |
|
static void | showtagsListCreationError (QWidget *const parent, const QMap< QString, QString > &errMap) |
|
static bool | tagCreate (QWidget *const parent, TAlbum *const album, QString &title, QString &icon, QKeySequence &ks) |
|
static bool | tagEdit (QWidget *const parent, TAlbum *const album, QString &title, QString &icon, QKeySequence &ks) |
|
◆ TagEditDlg()
Digikam::TagEditDlg::TagEditDlg |
( |
QWidget *const |
parent, |
|
|
TAlbum *const |
album, |
|
|
bool |
create = false |
|
) |
| |
|
explicit |
◆ ~TagEditDlg()
Digikam::TagEditDlg::~TagEditDlg |
( |
| ) |
|
|
override |
◆ createTAlbum()
AlbumList Digikam::TagEditDlg::createTAlbum |
( |
TAlbum *const |
mainRootAlbum, |
|
|
const QString & |
tagStr, |
|
|
const QString & |
icon, |
|
|
const QKeySequence & |
ks, |
|
|
QMap< QString, QString > & |
errMap |
|
) |
| |
|
static |
Create a list of new Tag album using a list of tags hierarchies separated by ",". A hierarchy of tags is a string path of tags name separated by "/". If a hierarchy start by "/" or if mainRootAlbum is null, it will be created from root tag album, else it will be created from mainRootAlbum as parent album. 'errMap' is Map of TAlbum path and error message if tag creation failed. Return the list of created Albums.
References Digikam::AlbumManager::createTAlbum(), Digikam::TagsActionMngr::defaultManager(), Digikam::AlbumManager::findTAlbum(), icon(), Digikam::Album::id(), Digikam::AlbumManager::instance(), Digikam::Album::isRoot(), QT_SKIP_EMPTY_PARTS, Digikam::TAlbum::tagPath(), and Digikam::TagsActionMngr::updateTagShortcut().
Referenced by Digikam::TagModificationHelper::slotTagNew().
◆ icon()
QString Digikam::TagEditDlg::icon |
( |
| ) |
const |
◆ shortcut()
QKeySequence Digikam::TagEditDlg::shortcut |
( |
| ) |
const |
◆ showtagsListCreationError()
void Digikam::TagEditDlg::showtagsListCreationError |
( |
QWidget *const |
parent, |
|
|
const QMap< QString, QString > & |
errMap |
|
) |
| |
|
static |
◆ tagCreate()
bool Digikam::TagEditDlg::tagCreate |
( |
QWidget *const |
parent, |
|
|
TAlbum *const |
album, |
|
|
QString & |
title, |
|
|
QString & |
icon, |
|
|
QKeySequence & |
ks |
|
) |
| |
|
static |
◆ tagEdit()
bool Digikam::TagEditDlg::tagEdit |
( |
QWidget *const |
parent, |
|
|
TAlbum *const |
album, |
|
|
QString & |
title, |
|
|
QString & |
icon, |
|
|
QKeySequence & |
ks |
|
) |
| |
|
static |
◆ title()
QString Digikam::TagEditDlg::title |
( |
| ) |
const |
The documentation for this class was generated from the following files: