aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-28 21:23:21 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-28 21:23:21 (GMT)
commit24d2288d5d245b69e34c2646bc9b0004b209a327 (patch)
tree98775296a1be8b32e0fa091987d54485ac256e98
parent8244a866998cfb7ae423edd0b9087c8012e1abef (diff)
Remove some private Q_SLOTS
-rw-r--r--src/archivedialog.h4
-rw-r--r--src/attachmenthandler.h4
-rw-r--r--src/collectionselection.h4
-rw-r--r--src/freebusymodel/freebusycalendar.h4
4 files changed, 4 insertions, 12 deletions
diff --git a/src/archivedialog.h b/src/archivedialog.h
index fc93830..0b0c061 100644
--- a/src/archivedialog.h
+++ b/src/archivedialog.h
@@ -66,10 +66,8 @@ protected Q_SLOTS:
void slotEnableUser1();
void slotActionChanged();
-private Q_SLOTS:
- void showWhatsThis();
-
private:
+ void showWhatsThis();
KUrlRequester *mArchiveFile;
KDateComboBox *mDateEdit;
QCheckBox *mDeleteCb;
diff --git a/src/attachmenthandler.h b/src/attachmenthandler.h
index d665eb7..0d6c1d3 100644
--- a/src/attachmenthandler.h
+++ b/src/attachmenthandler.h
@@ -169,11 +169,9 @@ Q_SIGNALS:
void viewFinished(const QString &uid, const QString &attachmentName, bool success);
void saveAsFinished(const QString &uid, const QString &attachmentName, bool success);
-private Q_SLOTS:
+private:
void slotFinishView(KJob *job);
void slotFinishSaveAs(KJob *job);
-
-private:
//@cond PRIVATE
class Private;
Private *const d;
diff --git a/src/collectionselection.h b/src/collectionselection.h
index 3f150aa..984391f 100644
--- a/src/collectionselection.h
+++ b/src/collectionselection.h
@@ -57,10 +57,8 @@ Q_SIGNALS:
void collectionDeselected(const Akonadi::Collection &);
void collectionSelected(const Akonadi::Collection &);
-private Q_SLOTS:
- void slotSelectionChanged(const QItemSelection &, const QItemSelection &);
-
private:
+ void slotSelectionChanged(const QItemSelection &, const QItemSelection &);
class Private;
Private *const d;
};
diff --git a/src/freebusymodel/freebusycalendar.h b/src/freebusymodel/freebusycalendar.h
index 14aeb33..213a2bb 100644
--- a/src/freebusymodel/freebusycalendar.h
+++ b/src/freebusymodel/freebusycalendar.h
@@ -44,13 +44,11 @@ public:
FreeBusyItemModel *model() const;
KCalCore::Calendar::Ptr calendar() const;
-private Q_SLOTS:
+private:
void onRowsChanged(const QModelIndex &, const QModelIndex &);
void onRowsInserted(const QModelIndex &, int, int);
void onRowsRemoved(const QModelIndex &, int, int);
void onLayoutChanged();
-
-private:
void deleteAllEvents();
FreeBusyCalendarPrivate *const d;
};