27 #include "Utils/Pimpl.h" 48 using QThread::finished;
53 void sig_progress(
int);
58 explicit Editor(QObject* parent=
nullptr);
97 bool apply_regex(
const QString& regex,
int idx);
107 void delete_genre(
int idx,
const Genre& genre);
109 void rename_genre(
int idx,
const Genre& genre,
const Genre& new_genre);
160 bool is_cover_supported(
int idx)
const;
162 bool can_load_entire_album()
const;
163 void load_entire_album();
181 void apply_artists_and_albums_to_md();
186 void thread_finished();
187 void load_entire_album_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:33
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
Definition: org_mpris_media_player2_adaptor.h:21