Add missing signal

This commit is contained in:
Jonas Kvinge 2018-09-12 22:55:53 +02:00
parent a5276a3b7e
commit be3862ec40
2 changed files with 8 additions and 5 deletions

View File

@ -69,19 +69,22 @@ public:
bool DeleteFromStorage(const DeleteJob &job);
void FinishDelete(bool success);
protected slots:
signals:
void Error(const QString &message);
protected slots:
void LoadFinished(Itdb_iTunesDB *db);
protected:
protected:
Itdb_Track *AddTrackToITunesDb(const Song &metadata);
void AddTrackToModel(Itdb_Track *track, const QString &prefix);
bool RemoveTrackFromITunesDb(const QString &path, const QString &relative_to = QString());
virtual void FinaliseDatabase() {}
private:
private:
void WriteDatabase(bool success);
protected:
protected:
QThread *loader_thread_;
GPodLoader *loader_;

View File

@ -49,7 +49,7 @@ class GPodLoader : public QObject {
public slots:
void LoadDatabase();
signals:
signals:
void Error(const QString &message);
void TaskStarted(int task_id);
void LoadFinished(Itdb_iTunesDB *db);