digiKam
|
Token is the smallest parsing unit in AdvancedRename utility More...
Signals | |
void | signalTokenTriggered (const QString &) |
Public Member Functions | |
QAction * | action () |
QString | description () |
QString | id () |
Token (const QString &id, const QString &description) | |
~Token () override | |
Token is the smallest parsing unit in AdvancedRename utility
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.
|
explicit |
References description().
|
override |
|
inline |
Referenced by Digikam::Rule::addToken(), Digikam::Rule::registerButton(), and Digikam::Rule::registerMenu().
|
inline |
Referenced by Token().
|
inline |
|
signal |
This signal is emitted when the action of the token is triggered.