summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-27 05:32:14 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-27 05:32:14 (GMT)
commit80bc0007e68ad778009f104bf7453d22b6c46e9e (patch)
treedd94dfa3ad15685291a9f9822e8dabc4de72da1c
parent41e7aeb30be38061341ed885aac2ecabeacb7d81 (diff)
Remove not necessary private Q_SLOTS
-rw-r--r--src/addressline/addresslineedit/addresseelineedit.h3
-rw-r--r--src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletiondialog.h3
-rw-r--r--src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletionwidget.h3
-rw-r--r--src/addressline/blacklistbaloocompletion/blacklistbalooemailwarning.h2
-rw-r--r--src/addressline/completionconfiguredialog/completionconfiguredialog.h3
-rw-r--r--src/addressline/completionorder/completionorderwidget.h4
-rw-r--r--src/addressline/recentaddress/recentaddresswidget.h10
-rw-r--r--src/job/collectionsearchjob.h4
-rw-r--r--src/widgets/progressindicatorwidget.h4
9 files changed, 12 insertions, 24 deletions
diff --git a/src/addressline/addresslineedit/addresseelineedit.h b/src/addressline/addresslineedit/addresseelineedit.h
index ace1e19..2f8d626 100644
--- a/src/addressline/addresslineedit/addresseelineedit.h
+++ b/src/addressline/addresslineedit/addresseelineedit.h
@@ -219,10 +219,9 @@ protected:
void insertEmails(const QStringList &emails);
void loadContacts();
-private Q_SLOTS:
+private:
void groupExpandResult(KJob *job);
void slotToggleExpandGroups();
-private:
bool eventFilter(QObject *, QEvent *) Q_DECL_OVERRIDE;
AddresseeLineEditPrivate *const d;
diff --git a/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletiondialog.h b/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletiondialog.h
index 0ad186c..b019805 100644
--- a/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletiondialog.h
+++ b/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletiondialog.h
@@ -35,9 +35,8 @@ public:
void setEmailBlackList(const QStringList &list);
-private Q_SLOTS:
- void slotSave();
private:
+ void slotSave();
void writeConfig();
void readConfig();
BlackListBalooEmailCompletionDialogPrivate *const d;
diff --git a/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletionwidget.h b/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletionwidget.h
index 0d9613e..0f948ec 100644
--- a/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletionwidget.h
+++ b/src/addressline/blacklistbaloocompletion/blacklistbalooemailcompletionwidget.h
@@ -40,7 +40,7 @@ public:
void save();
void load();
void setEmailBlackList(const QStringList &list);
-private Q_SLOTS:
+private:
void slotSelectionChanged();
void slotUnselectEmails();
void slotSelectEmails();
@@ -51,7 +51,6 @@ private Q_SLOTS:
void slotCheckIfUpdateBlackListIsNeeded();
void slotSaveChanges();
void slotShowAllBlacklistedEmail();
-private:
void hideMoreResultAndChangeLimit();
QStringList mOriginalExcludeDomain;
QLabel *mNumberOfEmailsFound;
diff --git a/src/addressline/blacklistbaloocompletion/blacklistbalooemailwarning.h b/src/addressline/blacklistbaloocompletion/blacklistbalooemailwarning.h
index facc2c8..ba1b7f0 100644
--- a/src/addressline/blacklistbaloocompletion/blacklistbalooemailwarning.h
+++ b/src/addressline/blacklistbaloocompletion/blacklistbalooemailwarning.h
@@ -36,7 +36,7 @@ Q_SIGNALS:
void newSearch();
void saveChanges();
-private Q_SLOTS:
+private:
void slotSaveBlackList();
void slotSearch();
};
diff --git a/src/addressline/completionconfiguredialog/completionconfiguredialog.h b/src/addressline/completionconfiguredialog/completionconfiguredialog.h
index 6f64ba7..819dfc1 100644
--- a/src/addressline/completionconfiguredialog/completionconfiguredialog.h
+++ b/src/addressline/completionconfiguredialog/completionconfiguredialog.h
@@ -45,10 +45,9 @@ public:
void setRecentAddresses(const QStringList &lst);
bool recentAddressWasChanged() const;
void storeAddresses(KConfig *config);
-private Q_SLOTS:
- void slotSave();
private:
+ void slotSave();
void readConfig();
void writeConfig();
CompletionConfigureDialogPrivate *const d;
diff --git a/src/addressline/completionorder/completionorderwidget.h b/src/addressline/completionorder/completionorderwidget.h
index be7b1a2..66b4d7f 100644
--- a/src/addressline/completionorder/completionorderwidget.h
+++ b/src/addressline/completionorder/completionorderwidget.h
@@ -81,13 +81,11 @@ public:
Q_SIGNALS:
void completionOrderChanged();
-private Q_SLOTS:
+private:
void rowsInserted(const QModelIndex &parent, int start, int end);
void slotSelectionChanged();
void slotMoveUp();
void slotMoveDown();
-
-private:
void readConfig();
void writeConfig();
void addRecentAddressItem();
diff --git a/src/addressline/recentaddress/recentaddresswidget.h b/src/addressline/recentaddress/recentaddresswidget.h
index 6e8fa46..4f1a16c 100644
--- a/src/addressline/recentaddress/recentaddresswidget.h
+++ b/src/addressline/recentaddress/recentaddresswidget.h
@@ -41,17 +41,15 @@ public:
void storeAddresses(KConfig *config);
bool wasChanged() const;
-private Q_SLOTS:
- void slotAddItem();
- void slotRemoveItem();
- void slotSelectionChanged();
- void slotTypedSomething(const QString &);
-
protected:
void updateButtonState();
bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE;
private:
+ void slotAddItem();
+ void slotRemoveItem();
+ void slotSelectionChanged();
+ void slotTypedSomething(const QString &);
QPushButton *mNewButton, *mRemoveButton;
QListWidget *mListView;
KLineEdit *mLineEdit;
diff --git a/src/job/collectionsearchjob.h b/src/job/collectionsearchjob.h
index 69103c4..e187039 100644
--- a/src/job/collectionsearchjob.h
+++ b/src/job/collectionsearchjob.h
@@ -42,12 +42,10 @@ public:
Akonadi::Collection::List matchingCollections() const;
-private Q_SLOTS:
+private:
void onCollectionsReceived(const Akonadi::Collection::List &);
void onCollectionsFetched(KJob *);
void onAncestorsFetched(KJob *);
-
-private:
CollectionSearchJobPrivate *const d;
};
diff --git a/src/widgets/progressindicatorwidget.h b/src/widgets/progressindicatorwidget.h
index 5b97400..a59a477 100644
--- a/src/widgets/progressindicatorwidget.h
+++ b/src/widgets/progressindicatorwidget.h
@@ -43,10 +43,8 @@ public:
void startAnimation();
void stopAnimation();
-private Q_SLOTS:
- void slotTimerDone();
-
private:
+ void slotTimerDone();
int mProgressCount;
KPixmapSequence mProgressPix;
QTimer *mProgressTimer;