Replace signals with Q_SIGNALS
This commit is contained in:
@@ -61,7 +61,7 @@ class ParserBase : public QObject {
|
||||
virtual SongList Load(QIODevice *device, const QString &playlist_path = QLatin1String(""), const QDir &dir = QDir(), const bool collection_lookup = true) const = 0;
|
||||
virtual void Save(const SongList &songs, QIODevice *device, const QDir &dir = QDir(), const PlaylistSettingsPage::PathType path_type = PlaylistSettingsPage::PathType::Automatic) const = 0;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void Error(const QString &error) const;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -67,7 +67,7 @@ class PlaylistParser : public QObject {
|
||||
SongList LoadFromDevice(QIODevice *device, const QString &path_hint = QString(), const QDir &dir_hint = QDir()) const;
|
||||
void Save(const SongList &songs, const QString &filename, const PlaylistSettingsPage::PathType) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void Error(const QString &error) const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user