Replace slots with Q_SLOTS
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -39,7 +39,7 @@ class Console : public QDialog {
|
||||
public:
|
||||
explicit Console(Application *app, QWidget *parent = nullptr);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void RunQuery();
|
||||
|
||||
private:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -104,7 +104,7 @@ class EditTagDialog : public QDialog {
|
||||
AlbumCoverImageResult cover_result_;
|
||||
};
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void SetSongsFinished();
|
||||
void SaveDataFinished();
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -40,7 +40,7 @@ class SavePlaylistsDialog : public QDialog {
|
||||
protected:
|
||||
void accept() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void SelectPath();
|
||||
|
||||
private:
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user