◆ NameMatchMode
Enumerator |
---|
MatchStartingWithFragment | Default: use the "startingWith" method.
|
MatchContainingFragment | use the "contains" method
|
◆ TaggingActionFactory()
Digikam::TaggingActionFactory::TaggingActionFactory |
( |
| ) |
|
|
explicit |
◆ ~TaggingActionFactory()
Digikam::TaggingActionFactory::~TaggingActionFactory |
( |
| ) |
|
|
virtual |
◆ actions()
◆ constraintInterface()
◆ defaultTaggingAction() [1/2]
TaggingAction Digikam::TaggingActionFactory::defaultTaggingAction |
( |
| ) |
const |
◆ defaultTaggingAction() [2/2]
TaggingAction Digikam::TaggingActionFactory::defaultTaggingAction |
( |
const QString & |
tagName, |
|
|
int |
parentTagId = 0 |
|
) |
| |
|
static |
◆ fragment()
QString Digikam::TaggingActionFactory::fragment |
( |
| ) |
const |
◆ indexOfDefaultAction()
int Digikam::TaggingActionFactory::indexOfDefaultAction |
( |
| ) |
const |
Returns the index of the default action in the list returned by generate()
References actions().
◆ indexOfLastRecentAction()
int Digikam::TaggingActionFactory::indexOfLastRecentAction |
( |
| ) |
const |
Returns the index of the last recent action in the list returned by actions()
◆ nameMatchMode()
◆ parentTagId()
int Digikam::TaggingActionFactory::parentTagId |
( |
| ) |
const |
◆ reset()
void Digikam::TaggingActionFactory::reset |
( |
| ) |
|
◆ setConstraintInterface()
Allows to filter the scope of suggested tags. Pass an implementation of ConstraintInterface (reamins in your ownership). actions() will then only suggest to assign tags for which matches() is true
◆ setFragment()
void Digikam::TaggingActionFactory::setFragment |
( |
const QString & |
fragment | ) |
|
Set a fragment of a tag name to generate possible tags, as known from completers.
References fragment().
◆ setNameMatchMode()
void Digikam::TaggingActionFactory::setNameMatchMode |
( |
NameMatchMode |
mode | ) |
|
Set the matching mode for the tag name.
◆ setParentTag()
void Digikam::TaggingActionFactory::setParentTag |
( |
int |
parentTagId | ) |
|
Set a tag which may by the user be intended to be the parent of a newly created tag.
References parentTagId().
◆ suggestedUIString()
QString Digikam::TaggingActionFactory::suggestedUIString |
( |
const TaggingAction & |
action | ) |
const |
Returns a string to be used in the UI for the given TaggingAction, interpreted in the context of the current settings.
References Digikam::TagsCache::instance(), Digikam::TaggingAction::isValid(), Digikam::TaggingAction::newTagName(), Digikam::TagsCache::NoLeadingSlash, Digikam::TagsCache::parentTag(), Digikam::TaggingAction::parentTagId(), Digikam::TaggingAction::shallAssignTag(), Digikam::TaggingAction::tagId(), Digikam::TagsCache::tagName(), and Digikam::TagsCache::tagPath().
The documentation for this class was generated from the following files: