Contains data relevent for the action of editing a manual tag.
More...
#include <editmanualtagaction.h>
|
std::string | name_ |
| The target tags name.
|
|
std::string | new_name_ |
| The target tags new name, if ActionType == rename.
|
|
ActionType | type_ |
| The type of action to be performed.
|
|
Contains data relevent for the action of editing a manual tag.
◆ ActionType
Represents the type of action performed.
Enumerator |
---|
add | Add a new tag.
|
remove | Remove an existing tag.
|
rename | Rename a tag.
|
◆ EditManualTagAction()
EditManualTagAction::EditManualTagAction |
( |
const std::string & | name, |
|
|
ActionType | type, |
|
|
const std::string & | new_name = "" ) |
Constructor.
- Parameters
-
name | Name of the tag to be edited. |
type | Type of editing action to be performed. |
new_name | Contains the tags new name, if action is of type Rename. |
◆ getName()
std::string EditManualTagAction::getName |
( |
| ) |
const |
Getter for the target tags name.
- Returns
- The name.
◆ getNewName()
std::string EditManualTagAction::getNewName |
( |
| ) |
const |
Getter for the new name.
- Returns
- The new name.
◆ getType()
The documentation for this class was generated from the following files: