Replace slots with Q_SLOTS
This commit is contained in:
@@ -59,7 +59,7 @@ class GlobalShortcutGrabber : public QDialog {
|
||||
void grabKeyboard();
|
||||
void releaseKeyboard();
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void Accepted();
|
||||
void Rejected();
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class GlobalShortcutsBackendGnome : public GlobalShortcutsBackend {
|
||||
bool DoRegister() override;
|
||||
void DoUnregister() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void RegisterFinished(QDBusPendingCallWatcher *watcher);
|
||||
|
||||
void GnomeMediaKeyPressed(const QString &application, const QString &key);
|
||||
|
||||
@@ -57,7 +57,7 @@ class GlobalShortcutsBackendKDE : public GlobalShortcutsBackend {
|
||||
static QList<int> ToIntList(const QList<QKeySequence> &sequence_list);
|
||||
static QList<QKeySequence> ToKeySequenceList(const QList<int> &sequence_list);
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void RegisterFinished(QDBusPendingCallWatcher *watcher);
|
||||
void GlobalShortcutPressed(const QString &component_unique, const QString &shortcut_unique, qint64);
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ class GlobalShortcutsBackendMate : public GlobalShortcutsBackend {
|
||||
bool DoRegister() override;
|
||||
void DoUnregister() override;
|
||||
|
||||
private slots:
|
||||
private Q_SLOTS:
|
||||
void RegisterFinished(QDBusPendingCallWatcher *watcher);
|
||||
|
||||
void MateMediaKeyPressed(const QString &application, const QString &key);
|
||||
|
||||
@@ -73,7 +73,7 @@ class GlobalShortcutsManager : public QWidget {
|
||||
bool Register();
|
||||
void Unregister();
|
||||
|
||||
public slots:
|
||||
public Q_SLOTS:
|
||||
void ReloadSettings();
|
||||
void ShowMacAccessibilityDialog();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user