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