ActionType type_
The type of action to be performed.
Definition editmanualtagaction.h:59
std::string new_name_
The target tags new name, if ActionType == rename.
Definition editmanualtagaction.h:57
ActionType getType() const
Getter for the ActionType to be performed.
Definition editmanualtagaction.cpp:19
EditManualTagAction(const std::string &name, ActionType type, const std::string &new_name="")
Constructor.
Definition editmanualtagaction.cpp:3
std::string getNewName() const
Getter for the new name.
Definition editmanualtagaction.cpp:14
ActionType
Represents the type of action performed.
Definition editmanualtagaction.h:19
@ remove
Remove an existing tag.
Definition editmanualtagaction.h:23
@ add
Add a new tag.
Definition editmanualtagaction.h:21
@ rename
Rename a tag.
Definition editmanualtagaction.h:25
std::string getName() const
Getter for the target tags name.
Definition editmanualtagaction.cpp:9
std::string name_
The target tags name.
Definition editmanualtagaction.h:55