|
void | slotFaceTagDelete () |
| must use bindTag and a QAction
|
|
void | slotFaceTagDelete (TAlbum *tag) |
| Deletes the given face tag and after prompting the user for this.
|
|
void | slotMultipleFaceTagDel () |
| must use bindMultipleTags and a QAction
|
|
void | slotMultipleFaceTagDel (const QList< TAlbum * > &tags) |
| Delete multiple face tags and prompt user only once for all The tags itself are not deleted.
|
|
void | slotMultipleTagDel () |
| must use bindMultipleTags and a QAction
|
|
void | slotMultipleTagDel (const QList< TAlbum * > &tags) |
| must use bindTag and a QAction
|
|
void | slotMultipleTagsToFaceTags () |
| must use bindMultipleTags and a QAction
|
|
void | slotMultipleTagsToFaceTags (const QList< TAlbum * > &tags) |
| Marks the tags as face tags if they are not already.
|
|
void | slotTagDelete () |
| must use bindTag and a QAction
|
|
void | slotTagDelete (TAlbum *tag) |
| Deletes the given tag and after prompting the user for this.
|
|
void | slotTagEdit () |
| must use bindTag and a QAction
|
|
void | slotTagEdit (TAlbum *tag) |
| Edits the given tag via a user dialog.
|
|
TAlbum * | slotTagNew () |
| Same as above, but this slot can be triggered from a QAction if a parent tag is bound to this action, see below.
|
|
TAlbum * | slotTagNew (TAlbum *parent, const QString &title=QString(), const QString &iconName=QString()) |
| Creates one ore more new tags under the given parent.
|
|
void | slotTagToFaceTag () |
| must use bindTag and a QAction
|
|
void | slotTagToFaceTag (TAlbum *tag) |
| Marks the tag as face tag if it is not already.
|
|
|
| TagModificationHelper (QObject *const parent, QWidget *const dialogParent) |
| Constructor.
|
|
| ~TagModificationHelper () override |
| Destructor.
|
|
void | bindMultipleTags (QAction *action, const QList< TAlbum * > &tags) |
| Set QVector's pointer into action's data.
|
|
void | bindTag (QAction *action, TAlbum *parent) const |
| Sets the tag that the given action operates on.
|
|
QList< TAlbum * > | boundMultipleTags (QObject *sender) |
| Return QVector pointer bound with bindMultipleTags.
|
|
TAlbum * | boundTag (QObject *action) const |
| Returns the tag bound with bindTag.
|
|
This class can do background processing for batch tag operations. So be sure that the signals indicating the progress of these operations are used.
- Author
- jwienke
void Digikam::TagModificationHelper::slotMultipleTagDel |
( |
const QList< TAlbum * > & |
tags | ) |
|
|
slot |
Delete multiple tags and prompt user only once for all
- Parameters
-
tags | the tags to be deleted, without root tag |
Tags must be deleted from children to parents, if we don't want to step on invalid index. Use QMultiMap to order them by distance to root tag
QMultimap doesn't provide reverse iterator, use QList.