Replace signals with Q_SIGNALS
This commit is contained in:
@@ -81,7 +81,7 @@ class SCollection : public QObject {
|
||||
void SongsPlaycountChanged(const SongList &songs, const bool save_tags = false);
|
||||
void SongsRatingChanged(const SongList &songs, const bool save_tags = false);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void Error(const QString &error);
|
||||
void ExitFinished();
|
||||
|
||||
|
||||
@@ -275,7 +275,7 @@ class CollectionBackend : public CollectionBackendInterface {
|
||||
void UpdateLastSeen(const int directory_id, const int expire_unavailable_songs_days);
|
||||
void ExpireSongs(const int directory_id, const int expire_unavailable_songs_days);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void DirectoryAdded(const CollectionDirectory &dir, const CollectionSubdirectoryList &subdir);
|
||||
void DirectoryDeleted(const CollectionDirectory &dir);
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ class CollectionFilterWidget : public QWidget {
|
||||
void SetFilterMode(CollectionFilterOptions::FilterMode filter_mode);
|
||||
void FocusOnFilter(QKeyEvent *e);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void UpPressed();
|
||||
void DownPressed();
|
||||
void ReturnPressed();
|
||||
|
||||
@@ -201,7 +201,7 @@ class CollectionModel : public SimpleTreeModel<CollectionItem> {
|
||||
|
||||
bool CompareItems(const CollectionItem *a, const CollectionItem *b) const;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void TotalSongCountUpdated(const int count);
|
||||
void TotalArtistCountUpdated(const int count);
|
||||
void TotalAlbumCountUpdated(const int count);
|
||||
|
||||
@@ -82,7 +82,7 @@ class CollectionView : public AutoExpandingTreeView {
|
||||
|
||||
void EditTagError(const QString &message);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void ShowConfigDialog();
|
||||
|
||||
void TotalSongCountUpdated_();
|
||||
|
||||
@@ -71,7 +71,7 @@ class CollectionWatcher : public QObject {
|
||||
|
||||
void RescanSongsAsync(const SongList &songs);
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void NewOrUpdatedSongs(const SongList &songs);
|
||||
void SongsMTimeUpdated(const SongList &songs);
|
||||
void SongsDeleted(const SongList &songs);
|
||||
|
||||
@@ -47,7 +47,7 @@ class GroupByDialog : public QDialog {
|
||||
void CollectionGroupingChanged(const CollectionModel::Grouping g, const bool separate_albums_by_grouping);
|
||||
void accept() override;
|
||||
|
||||
signals:
|
||||
Q_SIGNALS:
|
||||
void Accepted(const CollectionModel::Grouping g, const bool separate_albums_by_grouping);
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -51,8 +51,8 @@ class SavedGroupingManager : public QDialog {
|
||||
|
||||
static QString GroupByToString(const CollectionModel::GroupBy g);
|
||||
|
||||
signals:
|
||||
void UpdateGroupByActions();
|
||||
Q_SIGNALS:
|
||||
void UpdateGroupByActions();
|
||||
|
||||
private slots:
|
||||
void UpdateButtonState();
|
||||
|
||||
Reference in New Issue
Block a user