summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-20 11:52:44 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-20 11:54:54 (GMT)
commitd40a9294687455c4fc811b04f650d3ec7f0325bf (patch)
tree20651a4a23f737d194dfacf67a8221ae3a701478
parenta7a39b9f6f8360b7c1a53fd3298ee05c33bc18c8 (diff)
Not necessary to use private Q_SLOTS
-rw-r--r--agents/newmailnotifier/newmailnotifierselectcollectionwidget.h4
-rw-r--r--agents/newmailnotifier/newmailnotifiersettingsdialog.h4
-rw-r--r--migration/infodialog.h4
-rw-r--r--resources/birthdays/configdialog.h4
-rw-r--r--resources/contacts/settingsdialog.h4
-rw-r--r--resources/shared/singlefileresource/singlefileresourceconfigdialogbase.h4
-rw-r--r--resources/tomboynotes/tomboyserverauthenticatejob.h4
-rw-r--r--resources/vcarddir/dirsettingsdialog.h4
8 files changed, 8 insertions, 24 deletions
diff --git a/agents/newmailnotifier/newmailnotifierselectcollectionwidget.h b/agents/newmailnotifier/newmailnotifierselectcollectionwidget.h
index 408914a..93c6111 100644
--- a/agents/newmailnotifier/newmailnotifierselectcollectionwidget.h
+++ b/agents/newmailnotifier/newmailnotifierselectcollectionwidget.h
@@ -60,15 +60,13 @@ public:
void updateCollectionsRecursive();
-private Q_SLOTS:
+private:
void slotSelectAllCollections();
void slotUnselectAllCollections();
void slotModifyJobDone(KJob *job);
void slotSetCollectionFilter(const QString &);
void slotCollectionTreeFetched();
-
-private:
void forceStatus(const QModelIndex &parent, bool status);
QTreeView *mFolderView;
Akonadi::EntityTreeModel *mModel;
diff --git a/agents/newmailnotifier/newmailnotifiersettingsdialog.h b/agents/newmailnotifier/newmailnotifiersettingsdialog.h
index dba5cdb..b7c2eb9 100644
--- a/agents/newmailnotifier/newmailnotifiersettingsdialog.h
+++ b/agents/newmailnotifier/newmailnotifiersettingsdialog.h
@@ -34,11 +34,9 @@ public:
explicit NewMailNotifierSettingsDialog(QWidget *parent = Q_NULLPTR);
~NewMailNotifierSettingsDialog();
-private Q_SLOTS:
+private:
void slotOkClicked();
void slotHelpLinkClicked(const QString &);
-
-private:
void writeConfig();
void readConfig();
QCheckBox *mShowPhoto;
diff --git a/migration/infodialog.h b/migration/infodialog.h
index f20df26..7e2e2b0 100644
--- a/migration/infodialog.h
+++ b/migration/infodialog.h
@@ -58,10 +58,8 @@ public Q_SLOTS:
void progress(int value);
void progress(int min, int max, int value);
-private Q_SLOTS:
- void scrollBarMoved(int value);
-
private:
+ void scrollBarMoved(int value);
QEventLoopLocker eventLoopLocker;
QDialogButtonBox *mButtonBox;
QListWidget *mList;
diff --git a/resources/birthdays/configdialog.h b/resources/birthdays/configdialog.h
index 0f038c5..3ed7ac8 100644
--- a/resources/birthdays/configdialog.h
+++ b/resources/birthdays/configdialog.h
@@ -34,10 +34,8 @@ public:
explicit ConfigDialog(QWidget *parent = Q_NULLPTR);
~ConfigDialog();
-private Q_SLOTS:
- void save();
-
private:
+ void save();
void loadTags();
void readConfig();
void writeConfig();
diff --git a/resources/contacts/settingsdialog.h b/resources/contacts/settingsdialog.h
index 799d4ca..277a319 100644
--- a/resources/contacts/settingsdialog.h
+++ b/resources/contacts/settingsdialog.h
@@ -40,11 +40,9 @@ public:
explicit SettingsDialog(Akonadi_Contacts_Resource::ContactsResourceSettings *settings, WId windowId);
~SettingsDialog();
-private Q_SLOTS:
+private:
void save();
void validate();
-
-private:
void readConfig();
void writeConfig();
Ui::SettingsDialog ui;
diff --git a/resources/shared/singlefileresource/singlefileresourceconfigdialogbase.h b/resources/shared/singlefileresource/singlefileresourceconfigdialogbase.h
index db6e43b..6775b4d 100644
--- a/resources/shared/singlefileresource/singlefileresourceconfigdialogbase.h
+++ b/resources/shared/singlefileresource/singlefileresourceconfigdialogbase.h
@@ -99,11 +99,9 @@ protected:
Ui::SingleFileResourceConfigDialog ui;
KConfigDialogManager *mManager;
-private Q_SLOTS:
+private:
void validate();
void slotStatJobResult(KJob *);
-
-private:
void writeConfig();
void readConfig();
KIO::StatJob *mStatJob;
diff --git a/resources/tomboynotes/tomboyserverauthenticatejob.h b/resources/tomboynotes/tomboyserverauthenticatejob.h
index 0eef7a0..6743406 100644
--- a/resources/tomboynotes/tomboyserverauthenticatejob.h
+++ b/resources/tomboynotes/tomboyserverauthenticatejob.h
@@ -39,15 +39,13 @@ public:
void start() Q_DECL_OVERRIDE;
-private Q_SLOTS:
+private:
void onLinkingFailed();
void onLinkingSucceeded();
void onOpenBrowser(const QUrl &url);
void onApiRequestFinished();
void onUserRequestFinished();
-
-private:
QString mUserURL;
QWebEngineView *mWebView;
diff --git a/resources/vcarddir/dirsettingsdialog.h b/resources/vcarddir/dirsettingsdialog.h
index c56f495..58b18d9 100644
--- a/resources/vcarddir/dirsettingsdialog.h
+++ b/resources/vcarddir/dirsettingsdialog.h
@@ -36,11 +36,9 @@ class SettingsDialog : public QDialog
public:
explicit SettingsDialog(WId windowId);
-private Q_SLOTS:
+private:
void save();
void validate();
-
-private:
Ui::SettingsDialog ui;
KConfigDialogManager *mManager;
QPushButton *mOkButton;