aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-27 22:49:47 +0200
committerMontel Laurent <[email protected]>2017-09-27 22:49:47 +0200
commit62b573f662f6c6cb194d1bcb5dadc4a54d8e33b2 (patch)
treeab53d306ce8bf12855448007374fa0f44090fbcb
parenta2d9b7ce46587bbc6d6ce1738b0411e415b1948b (diff)
Remove slot keyword
-rw-r--r--src/job/gravatarresolvurljob.h4
-rw-r--r--src/widgets/gravatarconfiguresettingsdialog.h4
-rw-r--r--src/widgets/gravatarconfigwidget.h4
-rw-r--r--src/widgets/gravatardownloadpixmapdialog.h4
-rw-r--r--src/widgets/gravatardownloadpixmapwidget.h3
5 files changed, 5 insertions, 14 deletions
diff --git a/src/job/gravatarresolvurljob.h b/src/job/gravatarresolvurljob.h
index e2e71bc..91a2f8e 100644
--- a/src/job/gravatarresolvurljob.h
+++ b/src/job/gravatarresolvurljob.h
@@ -64,12 +64,10 @@ Q_SIGNALS:
void finished(Gravatar::GravatarResolvUrlJob *);
void resolvUrl(const QUrl &url);
-private Q_SLOTS:
- void slotFinishLoadPixmap(QNetworkReply *reply);
-
private:
friend class ::GravatarResolvUrlJobTest;
+ void slotFinishLoadPixmap(QNetworkReply *reply);
QUrl generateGravatarUrl(bool useLibravatar);
Hash calculatedHash() const;
void processNextBackend();
diff --git a/src/widgets/gravatarconfiguresettingsdialog.h b/src/widgets/gravatarconfiguresettingsdialog.h
index 2cbfc1e..a89c0ac 100644
--- a/src/widgets/gravatarconfiguresettingsdialog.h
+++ b/src/widgets/gravatarconfiguresettingsdialog.h
@@ -33,12 +33,10 @@ public:
explicit GravatarConfigureSettingsDialog(QWidget *parent = nullptr);
~GravatarConfigureSettingsDialog();
-private Q_SLOTS:
+private:
void slotRestoreDefault();
void slotClearGravatarCache();
void save();
-
-private:
void load();
QCheckBox *mUseDefaultPixmap = nullptr;
QCheckBox *mUseLibravatar = nullptr;
diff --git a/src/widgets/gravatarconfigwidget.h b/src/widgets/gravatarconfigwidget.h
index 17a301d..3f319c7 100644
--- a/src/widgets/gravatarconfigwidget.h
+++ b/src/widgets/gravatarconfigwidget.h
@@ -38,11 +38,9 @@ public:
Q_SIGNALS:
void configChanged(bool);
-private Q_SLOTS:
+private:
void slotGravatarEnableChanged(bool state);
void slotConfigureSettings();
-
-private:
void updateWidgetState(bool state);
GravatarConfigWidgetPrivate *const d;
};
diff --git a/src/widgets/gravatardownloadpixmapdialog.h b/src/widgets/gravatardownloadpixmapdialog.h
index 34b1bef..14e1083 100644
--- a/src/widgets/gravatardownloadpixmapdialog.h
+++ b/src/widgets/gravatardownloadpixmapdialog.h
@@ -34,10 +34,8 @@ public:
QPixmap gravatarPixmap() const;
-private Q_SLOTS:
- void slotAccepted();
-
private:
+ void slotAccepted();
Gravatar::GravatarDownloadPixmapWidget *mGravatarDownloadPixmapWidget = nullptr;
};
}
diff --git a/src/widgets/gravatardownloadpixmapwidget.h b/src/widgets/gravatardownloadpixmapwidget.h
index 8d6e698..cd5cf7f 100644
--- a/src/widgets/gravatardownloadpixmapwidget.h
+++ b/src/widgets/gravatardownloadpixmapwidget.h
@@ -37,12 +37,11 @@ public:
QPixmap gravatarPixmap() const;
-private Q_SLOTS:
+private:
void slotSearchButton();
void slotTextChanged(const QString &text);
void slotResolvUrlFinish(Gravatar::GravatarResolvUrlJob *job);
-private:
QPixmap mGravatarPixmap;
QLabel *mResultLabel = nullptr;
QLineEdit *mLineEdit = nullptr;