27#include "Utils/Pimpl.h"
50 void sigProgress(
int);
54 explicit Editor(QObject* parent =
nullptr);
90 bool applyRegularExpression(
const QString& regex,
int index);
98 void deleteGenre(
int index,
const Genre& genre);
100 void renameGenre(
int idx,
const Genre& genre,
const Genre& new_genre);
146 bool isCoverSupported(
int index)
const;
148 bool canLoadEntireAlbum()
const;
149 void loadEntireAlbum();
164 void insertMissingArtistsAndAlbums();
165 void startSameAlbumCrawler(
const QString& filepath);
168 void loadEntireAlbumFinished();
Definition: org_mpris_media_player2_adaptor.h:21
The TagEdit class Metadata has to be added using the set_metadata(const MetaDataList&) method....
Definition: Editor.h:43
int count() const
gets the number of tracks
bool hasChanges() const
indicates if there are pending changes
void commit()
Commits changes to db.
void updateTrack(int index, const MetaData &track)
writes changes to (changed) metadata for a specific track
void addGenre(int index, const Genre &genre)
Add a genre to all (changed) metdata.
bool hasCoverReplacement(int index) const
remove_cover for a specific track
void undoAll()
undo changes for all tracks
MetaData metadata(int index) const
get the (changed) metadata for a specific index
void updateCover(int index, const QPixmap &cover)
update the cover for a specific track.
void undo(int index)
undo changes for a specific track
void setMetadata(const MetaDataList &tracks)
initializes the TagEdit object with a MetaDataList
MetaDataList metadata() const
get all (changed) metadata
The GUI_TagEdit class.
Definition: GenreFetcher.h:34