X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreirclisthelper.h;fp=src%2Fcore%2Fcoreirclisthelper.h;h=637b367e0b676fa33998d07006e17e67ffc48012;hp=8f1081cbf304e7791de19ac6b61550bbce256baa;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=00e1a9c29e792ba4d65dba21b7ba04131bcb13bc diff --git a/src/core/coreirclisthelper.h b/src/core/coreirclisthelper.h index 8f1081cb..637b367e 100644 --- a/src/core/coreirclisthelper.h +++ b/src/core/coreirclisthelper.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREIRCLISTHELPER_H -#define COREIRCLISTHELPER_H +#pragma once #include @@ -32,14 +31,11 @@ class QTimerEvent; class CoreIrcListHelper : public IrcListHelper { - SYNCABLE_OBJECT - Q_OBJECT + Q_OBJECT public: inline CoreIrcListHelper(CoreSession *coreSession) : IrcListHelper(coreSession), _coreSession(coreSession) {}; - inline virtual const QMetaObject *syncMetaObject() const { return &IrcListHelper::staticMetaObject; } - inline CoreSession *coreSession() const { return _coreSession; } inline bool requestInProgress(const NetworkId &netId) const { return _channelLists.contains(netId); } @@ -64,6 +60,3 @@ private: QHash _queryTimeoutByTimerId; QHash> _queryTimeoutByNetId; }; - - -#endif //COREIRCLISTHELPER_H