21 #ifndef TAGEXPRESSION_H 22 #define TAGEXPRESSION_H 25 #include "Utils/Pimpl.h" 28 #define TAG_TITLE QString("<t>") 29 #define TAG_ALBUM QString("<al>") 30 #define TAG_ARTIST QString("<ar>") 31 #define TAG_TRACK_NUM QString("<nr>") 32 #define TAG_YEAR QString("<y>") 33 #define TAG_DISC QString("<d>") 34 #define TAG_IGNORE QString("<ign>") 40 using ReplacedString=QString;
59 QString escape_special_chars(
const QString& str)
const;
67 QString calc_regex_string(
const QStringList& splitted_tag_str)
const;
74 QStringList split_tag_string(
const QString& tag_str)
const;
80 Expression(
const QString& tag_str,
const QString& filename);
90 bool update_tag(
const QString& tag_str,
const QString& filepath);
98 bool check_tag(
const Tag& tag,
const QString& str);
104 #endif // TAGEXPRESSION_H bool check_tag(const Tag &tag, const QString &str)
checks, if one specific tag can be applied to the string
The TagExpression class.
Definition: Expression.h:48
The GUI_TagEdit class.
Definition: AbstractLibrary.h:42
bool update_tag(const QString &tag_str, const QString &filepath)
fills the _cap_map
Definition: org_mpris_media_player2_adaptor.h:21