Replace slots with Q_SLOTS

This commit is contained in:
Jonas Kvinge
2024-08-12 01:06:15 +02:00
parent f624b7a331
commit cbce9892d5
209 changed files with 277 additions and 277 deletions

View File

@@ -40,7 +40,7 @@ class AddStreamDialog : public QDialog {
protected:
void showEvent(QShowEvent *e) override;
private slots:
private Q_SLOTS:
void TextChanged(const QString &text);
private:

View File

@@ -39,7 +39,7 @@ class Console : public QDialog {
public:
explicit Console(Application *app, QWidget *parent = nullptr);
private slots:
private Q_SLOTS:
void RunQuery();
private:

View File

@@ -32,7 +32,7 @@ class DeleteConfirmationDialog : public QDialog {
static QDialogButtonBox::StandardButton warning(const QStringList &files, QWidget *parent = nullptr);
private slots:
private Q_SLOTS:
void ButtonClicked(QAbstractButton *button);
private:

View File

@@ -104,7 +104,7 @@ class EditTagDialog : public QDialog {
AlbumCoverImageResult cover_result_;
};
private slots:
private Q_SLOTS:
void SetSongsFinished();
void SaveDataFinished();

View File

@@ -39,7 +39,7 @@ class ErrorDialog : public QDialog {
explicit ErrorDialog(QWidget *parent = nullptr);
~ErrorDialog() override;
public slots:
public Q_SLOTS:
void ShowMessage(const QString &message);
protected:

View File

@@ -47,13 +47,13 @@ class LastFMImportDialog : public QDialog {
void ResetFinished();
void Reset();
private slots:
private Q_SLOTS:
void Start();
void Cancel();
void Close();
void UpdateGoButtonState();
public slots:
public Q_SLOTS:
void Finished();
void FinishedWithError(const QString &error);
void UpdateTotal(const int lastplayed_total, const int playcount_total);

View File

@@ -38,7 +38,7 @@ class MessageDialog : public QDialog {
void ShowMessage(const QString &title, const QString &message, const QIcon &icon = QIcon());
private slots:
private Q_SLOTS:
void DoNotShowMessageAgain();
protected:

View File

@@ -40,7 +40,7 @@ class SavePlaylistsDialog : public QDialog {
protected:
void accept() override;
private slots:
private Q_SLOTS:
void SelectPath();
private:

View File

@@ -46,7 +46,7 @@ class TrackSelectionDialog : public QDialog {
void Init(const SongList &songs);
public slots:
public Q_SLOTS:
void FetchTagProgress(const Song &original_song, const QString &progress);
void FetchTagFinished(const Song &original_song, const SongList &songs_guessed);
@@ -57,7 +57,7 @@ class TrackSelectionDialog : public QDialog {
void Error(const QString &error);
void SongChosen(const Song &original_song, const Song &new_metadata);
private slots:
private Q_SLOTS:
void UpdateStack();
void NextSong();