26 #include <QStringList> 28 #include "Utils/Pimpl.h" 51 void sig_progress(
int);
56 explicit Editor(QObject* parent=
nullptr);
95 void delete_genre(
int idx,
const Genre& genre);
97 void rename_genre(
int idx,
const Genre& genre,
const Genre& new_genre);
142 bool is_cover_supported(
int idx)
const;
157 void apply_artists_and_albums_to_md();
162 void thread_finished();
void update_track(int idx, const MetaData &md)
writes changes to (changed) metadata for a specific track
void commit()
Commits changes to db.
void set_metadata(const MetaDataList &v_md)
initializes the TagEdit object with a MetaDataList
const MetaDataList & metadata() const
get all (changed) metadata
The GUI_TagEdit class.
Definition: AbstractLibrary.h:42
void undo_all()
undo changes for all tracks
bool has_cover_replacement(int idx) const
remove_cover for a specific track
void add_genre(int idx, const Genre &genre)
Add a genre to all (changed) metdata.
int count() const
gets the number of tracks
void undo(int idx)
undo changes for a specific track
The TagEdit class Metadata has to be added using the set_metadata(const MetaDataList&) method...
Definition: Editor.h:44
void update_cover(int idx, const QImage &cover)
update the cover for a specific track.