Replace slots with Q_SLOTS
This commit is contained in:
@@ -96,7 +96,7 @@ class AppearanceSettingsPage : public SettingsPage {
|
||||
|
||||
static QColor DefaultTabbarBgColor();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void SelectBackgroundImage();
|
||||
void BlurLevelChanged(int);
|
||||
void OpacityLevelChanged(int);
|
||||
|
||||
@@ -62,7 +62,7 @@ class BackendSettingsPage : public SettingsPage {
|
||||
};
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void EngineChanged(const int index);
|
||||
void OutputChanged(const int index);
|
||||
void DeviceSelectionChanged(const int index);
|
||||
|
||||
@@ -77,7 +77,7 @@ class BehaviourSettingsPage : public SettingsPage {
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ShowTrayIconToggled(bool on);
|
||||
|
||||
private:
|
||||
|
||||
@@ -65,7 +65,7 @@ class CollectionSettingsPage : public SettingsPage {
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void AddDirectory();
|
||||
void RemoveDirectory();
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ class ContextSettingsPage : public SettingsPage {
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void InsertVariableFirstLine(QAction *action);
|
||||
void InsertVariableSecondLine(QAction *action);
|
||||
static void ShowMenuTooltip(QAction *action);
|
||||
|
||||
@@ -64,7 +64,7 @@ class CoversSettingsPage : public SettingsPage {
|
||||
QString AlbumCoverArtTypeDescription(const QString &type) const;
|
||||
void TypesMove(const int d);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ProvidersCurrentItemChanged(QListWidgetItem *item_current, QListWidgetItem *item_previous);
|
||||
void ProvidersItemSelectionChanged();
|
||||
void ProvidersItemChanged(QListWidgetItem *item);
|
||||
|
||||
@@ -50,7 +50,7 @@ class GlobalShortcutsSettingsPage : public SettingsPage {
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void ShortcutOptionsChanged();
|
||||
void OpenGnomeKeybindingProperties();
|
||||
void OpenMateKeybindingProperties();
|
||||
|
||||
@@ -53,7 +53,7 @@ class LyricsSettingsPage : public SettingsPage {
|
||||
void DisconnectAuthentication(LyricsProvider *provider) const;
|
||||
static bool ProviderCompareOrder(LyricsProvider *a, LyricsProvider *b);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void CurrentItemChanged(QListWidgetItem *item_current, QListWidgetItem *item_previous);
|
||||
void ItemSelectionChanged();
|
||||
void ItemChanged(QListWidgetItem *item);
|
||||
|
||||
@@ -51,7 +51,7 @@ class NotificationsSettingsPage : public SettingsPage {
|
||||
void hideEvent(QHideEvent*) override;
|
||||
void showEvent(QShowEvent*) override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void NotificationTypeChanged();
|
||||
void NotificationCustomTextChanged(bool enabled);
|
||||
void PrepareNotificationPreview();
|
||||
|
||||
@@ -48,7 +48,7 @@ class QobuzSettingsPage : public SettingsPage {
|
||||
Q_SIGNALS:
|
||||
void Login(const QString &username, const QString &password, const QString &token);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void LoginClicked();
|
||||
void LogoutClicked();
|
||||
void LoginSuccess();
|
||||
|
||||
@@ -48,7 +48,7 @@ class ScrobblerSettingsPage : public SettingsPage {
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void LastFM_Login();
|
||||
void LastFM_Logout();
|
||||
void LastFM_AuthenticationComplete(const bool success, const QString &error = QString());
|
||||
|
||||
@@ -141,7 +141,7 @@ class SettingsDialog : public QDialog {
|
||||
void ReloadSettings();
|
||||
void NotificationPreview(const OSDBase::Behaviour, const QString&, const QString&);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void CurrentItemChanged(QTreeWidgetItem *item);
|
||||
void DialogButtonClicked(QAbstractButton *button);
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ class SpotifySettingsPage : public SettingsPage {
|
||||
Q_SIGNALS:
|
||||
void Authorize();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void LoginClicked();
|
||||
void LogoutClicked();
|
||||
void LoginSuccess();
|
||||
|
||||
@@ -56,7 +56,7 @@ class SubsonicSettingsPage : public SettingsPage {
|
||||
Q_SIGNALS:
|
||||
void Test(const QUrl &url, const QString &username, const QString &password, const SubsonicSettingsPage::AuthMethod auth_method, const bool redirect = false);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void TestClicked();
|
||||
void TestSuccess();
|
||||
void TestFailure(const QString &failure_reason);
|
||||
|
||||
@@ -57,7 +57,7 @@ class TidalSettingsPage : public SettingsPage {
|
||||
void Authorize(const QString &client_id);
|
||||
void Login(const QString &api_token, const QString &username, const QString &password);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void OAuthClicked(const bool enabled);
|
||||
void LoginClicked();
|
||||
void LogoutClicked();
|
||||
|
||||
Reference in New Issue
Block a user