summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-07-27 19:39:00 (GMT)
committerMontel Laurent <montel@kde.org>2016-07-27 19:39:00 (GMT)
commit92dd2b545a969668d89ccd672d40a59ef6ea160c (patch)
treefe4e17b0d8f2dd373173976ea47cbd238fc859ff
parentf3de0a3c41cba75d2163f0c4987be255a0a658f3 (diff)
Not necessary to use private Q_SLOTS here
-rw-r--r--src/server/notificationsource.h4
-rw-r--r--src/server/preprocessorinstance.h3
-rw-r--r--src/server/search/agentsearchinstance.h4
-rw-r--r--src/server/search/searchmanager.h2
-rw-r--r--src/server/storage/itemretrievaljob.h4
-rw-r--r--src/shared/akapplication.h4
-rw-r--r--src/widgets/tagwidget.h4
7 files changed, 8 insertions, 17 deletions
diff --git a/src/server/notificationsource.h b/src/server/notificationsource.h
index 72acc98..e9c551a 100644
--- a/src/server/notificationsource.h
+++ b/src/server/notificationsource.h
@@ -120,10 +120,8 @@ Q_SIGNALS:
Q_SCRIPTABLE void ignoredSessionsChanged();
Q_SCRIPTABLE void monitoredTypesChanged();
-private Q_SLOTS:
- void serviceUnregistered(const QString &serviceName);
-
private:
+ void serviceUnregistered(const QString &serviceName);
bool isCollectionMonitored(Entity::Id id) const;
bool isMimeTypeMonitored(const QString &mimeType) const;
bool isMoveDestinationResourceMonitored(const Protocol::ChangeNotification &msg) const;
diff --git a/src/server/preprocessorinstance.h b/src/server/preprocessorinstance.h
index 669a335..d40951a 100644
--- a/src/server/preprocessorinstance.h
+++ b/src/server/preprocessorinstance.h
@@ -183,7 +183,8 @@ private:
*/
void processHeadItem();
-private Q_SLOTS:
+private:
+
/**
* This is invoked to signal that the processing of the current (head)
diff --git a/src/server/search/agentsearchinstance.h b/src/server/search/agentsearchinstance.h
index 95b2be7..ab2add5 100644
--- a/src/server/search/agentsearchinstance.h
+++ b/src/server/search/agentsearchinstance.h
@@ -42,10 +42,8 @@ public:
OrgFreedesktopAkonadiAgentSearchInterface *interface() const;
-private Q_SLOTS:
- void serviceOwnerChanged(const QString &service, const QString &oldName, const QString &newName);
-
private:
+ void serviceOwnerChanged(const QString &service, const QString &oldName, const QString &newName);
QString mId;
OrgFreedesktopAkonadiAgentSearchInterface *mInterface;
QDBusServiceWatcher *mServiceWatcher;
diff --git a/src/server/search/searchmanager.h b/src/server/search/searchmanager.h
index d8a2ae3..a41f762 100644
--- a/src/server/search/searchmanager.h
+++ b/src/server/search/searchmanager.h
@@ -92,7 +92,7 @@ public Q_SLOTS:
*/
virtual void unregisterInstance(const QString &id);
-private Q_SLOTS:
+private:
void searchUpdateTimeout();
void searchUpdateResultsAvailable(const QSet<qint64> &results);
diff --git a/src/server/storage/itemretrievaljob.h b/src/server/storage/itemretrievaljob.h
index 1909899..ca7444a 100644
--- a/src/server/storage/itemretrievaljob.h
+++ b/src/server/storage/itemretrievaljob.h
@@ -50,10 +50,8 @@ public:
Q_SIGNALS:
void requestCompleted(ItemRetrievalRequest *req, const QString &errorMsg);
-private Q_SLOTS:
- void callFinished(QDBusPendingCallWatcher *watcher);
-
private:
+ void callFinished(QDBusPendingCallWatcher *watcher);
ItemRetrievalRequest *m_request;
bool m_active;
OrgFreedesktopAkonadiResourceInterface *m_interface;
diff --git a/src/shared/akapplication.h b/src/shared/akapplication.h
index dbd4936..91416fb 100644
--- a/src/shared/akapplication.h
+++ b/src/shared/akapplication.h
@@ -59,10 +59,8 @@ protected:
void init();
QScopedPointer<QCoreApplication> mApp;
-private Q_SLOTS:
- void pollSessionBus() const;
-
private:
+ void pollSessionBus() const;
int mArgc;
char **mArgv;
QString mInstanceId;
diff --git a/src/widgets/tagwidget.h b/src/widgets/tagwidget.h
index a16d5f4..4d9ab1f 100644
--- a/src/widgets/tagwidget.h
+++ b/src/widgets/tagwidget.h
@@ -63,11 +63,9 @@ public:
Q_SIGNALS:
void selectionChanged(const Akonadi::Tag::List &tags);
-private Q_SLOTS:
+private:
void editTags();
void updateView();
-
-private:
class Private;
QSharedPointer<Private> d;
};