X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Firclisthelper.h;fp=src%2Fcommon%2Firclisthelper.h;h=037daf755c3a4032dc0c3295aefafc4c90a30cba;hp=7837dd9ff11ead061fe1ba8a7758a0b95a607f5d;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=00e1a9c29e792ba4d65dba21b7ba04131bcb13bc diff --git a/src/common/irclisthelper.h b/src/common/irclisthelper.h index 7837dd9f..037daf75 100644 --- a/src/common/irclisthelper.h +++ b/src/common/irclisthelper.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef IRCLISTHELPER_H -#define IRCLISTHELPER_H +#pragma once #include "syncableobject.h" #include "types.h" @@ -34,8 +33,8 @@ */ class IrcListHelper : public SyncableObject { + Q_OBJECT SYNCABLE_OBJECT - Q_OBJECT public: inline IrcListHelper(QObject *parent = 0) : SyncableObject(parent) { setInitialized(); }; @@ -53,6 +52,3 @@ public slots: inline virtual void reportFinishedList(const NetworkId &netId) { SYNC(ARG(netId)) } inline virtual void reportError(const QString &error) { SYNC(ARG(error)) } }; - - -#endif //IRCLISTHELPER_H