diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 13:27:56 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-17 13:27:56 +0100 |
commit | 19f2cbb9566eddac697c673eed63c0e946f330a6 (patch) | |
tree | fc5b25ece35bac0e9bf94e1e6fe081cbc2ad07d0 /common/resourceaccess.h | |
parent | 65e483c178a1980eb36e7b8efb8a76c7112f209e (diff) | |
download | sink-19f2cbb9566eddac697c673eed63c0e946f330a6.tar.gz sink-19f2cbb9566eddac697c673eed63c0e946f330a6.zip |
Use slots/signals instead of Q_SLOTS/Q_SIGNALS for clang-format compatibility
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r-- | common/resourceaccess.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index 3b03210..ce7e174 100644 --- a/common/resourceaccess.h +++ b/common/resourceaccess.h | |||
@@ -53,12 +53,12 @@ public: | |||
53 | virtual KAsync::Job<void> sendRevisionReplayedCommand(qint64 revision) {return KAsync::null<void>(); }; | 53 | virtual KAsync::Job<void> sendRevisionReplayedCommand(qint64 revision) {return KAsync::null<void>(); }; |
54 | virtual KAsync::Job<void> sendInspectionCommand(const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expecedValue) {return KAsync::null<void>(); }; | 54 | virtual KAsync::Job<void> sendInspectionCommand(const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expecedValue) {return KAsync::null<void>(); }; |
55 | 55 | ||
56 | Q_SIGNALS: | 56 | signals: |
57 | void ready(bool isReady); | 57 | void ready(bool isReady); |
58 | void revisionChanged(qint64 revision); | 58 | void revisionChanged(qint64 revision); |
59 | void notification(Notification revision); | 59 | void notification(Notification revision); |
60 | 60 | ||
61 | public Q_SLOTS: | 61 | public slots: |
62 | virtual void open() = 0; | 62 | virtual void open() = 0; |
63 | virtual void close() = 0; | 63 | virtual void close() = 0; |
64 | }; | 64 | }; |
@@ -88,11 +88,11 @@ public: | |||
88 | */ | 88 | */ |
89 | static KAsync::Job<QSharedPointer<QLocalSocket> > connectToServer(const QByteArray &identifier); | 89 | static KAsync::Job<QSharedPointer<QLocalSocket> > connectToServer(const QByteArray &identifier); |
90 | 90 | ||
91 | public Q_SLOTS: | 91 | public slots: |
92 | void open() Q_DECL_OVERRIDE; | 92 | void open() Q_DECL_OVERRIDE; |
93 | void close() Q_DECL_OVERRIDE; | 93 | void close() Q_DECL_OVERRIDE; |
94 | 94 | ||
95 | private Q_SLOTS: | 95 | private slots: |
96 | //TODO: move these to the Private class | 96 | //TODO: move these to the Private class |
97 | void disconnected(); | 97 | void disconnected(); |
98 | void connectionError(QLocalSocket::LocalSocketError error); | 98 | void connectionError(QLocalSocket::LocalSocketError error); |