Replace slots with Q_SLOTS
This commit is contained in:
@@ -52,7 +52,7 @@ class PlaylistGeneratorInserter : public QObject {
|
||||
void Error(const QString &message);
|
||||
void PlayRequested(const QModelIndex idx, const Playlist::AutoScroll autoscroll);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void Finished();
|
||||
|
||||
private:
|
||||
|
||||
@@ -53,7 +53,7 @@ class SmartPlaylistQueryWizardPlugin : public SmartPlaylistWizardPlugin {
|
||||
void SetGenerator(PlaylistGeneratorPtr) override;
|
||||
PlaylistGeneratorPtr CreateGenerator() const override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void AddSearchTerm();
|
||||
void RemoveSearchTerm();
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ class SmartPlaylistSearchPreview : public QWidget {
|
||||
private:
|
||||
void RunSearch(const SmartPlaylistSearch &search);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void SearchFinished();
|
||||
|
||||
private:
|
||||
|
||||
@@ -71,7 +71,7 @@ class SmartPlaylistSearchTermWidget : public QWidget {
|
||||
void leaveEvent(QEvent*) override;
|
||||
void resizeEvent(QResizeEvent*) override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void FieldChanged(const int index);
|
||||
void OpChanged(const int idx);
|
||||
void RelativeValueChanged();
|
||||
|
||||
@@ -49,7 +49,7 @@ class SmartPlaylistsViewContainer : public QWidget {
|
||||
protected:
|
||||
void showEvent(QShowEvent *e) override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ItemsSelectedChanged();
|
||||
void ItemDoubleClicked(const QModelIndex &idx);
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ class SmartPlaylistWizard : public QWizard {
|
||||
|
||||
void AddPlugin(SmartPlaylistWizardPlugin *plugin);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void TypeChanged(const int index);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user