27 #include "Utils/Pimpl.h" 49 void sig_progress(
int);
54 explicit Editor(QObject* parent=
nullptr);
86 bool apply_regex(
const QString& regex,
int idx);
96 void delete_genre(
int idx,
const Genre& genre);
98 void rename_genre(
int idx,
const Genre& genre,
const Genre& new_genre);
149 bool is_cover_supported(
int idx)
const;
151 bool can_load_entire_album()
const;
152 void load_entire_album();
168 void apply_artists_and_albums_to_md();
173 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
bool has_changes() const
indicates if there are pending changes
void update_cover(int idx, const QPixmap &cover)
update the cover for a specific track.
const MetaDataList & metadata() const
get all (changed) metadata
The GUI_TagEdit class.
Definition: GenreFetcher.h:32
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:41