![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Token is the smallest parsing unit in AdvancedRename utility More...
Inheritance diagram for Digikam::Token:Signals | |
| void | signalTokenTriggered (const QString &) |
| This signal is emitted when the action of the token is triggered. | |
Public Member Functions | |
| Token (const QString &id, const QString &description) | |
| QAction * | action () const |
| QString | description () const |
| QString | id () const |
The Token class represents the smallest parsing unit for the Parser class. Every string you enter as a renaming pattern is a combination of tokens and literal text. For example
is composed of five tokens
and two literals
A rule must assign at least one token object, to make parsing work. More than one token can be assigned to a Rule.
| QAction * Digikam::Token::action | ( | ) | const |
| QString Digikam::Token::description | ( | ) | const |
| QString Digikam::Token::id | ( | ) | const |