X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientirclisthelper.h;h=385a910eb7bed25202fe95b71de7c61f30702519;hp=28ea10e7c926f0824ce7ba47fa996415c4e64272;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hpb=1cb02004ee5973b89368bd84f234d4652794690d diff --git a/src/client/clientirclisthelper.h b/src/client/clientirclisthelper.h index 28ea10e7..385a910e 100644 --- a/src/client/clientirclisthelper.h +++ b/src/client/clientirclisthelper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,20 +18,16 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLIENTIRCLISTHELPER_H -#define CLIENTIRCLISTHELPER_H +#pragma once #include "irclisthelper.h" class ClientIrcListHelper : public IrcListHelper { - SYNCABLE_OBJECT - Q_OBJECT + Q_OBJECT public: - inline ClientIrcListHelper(QObject *object = 0) : IrcListHelper(object) {}; - - inline virtual const QMetaObject *syncMetaObject() const { return &IrcListHelper::staticMetaObject; } + inline ClientIrcListHelper(QObject *object = nullptr) : IrcListHelper(object) {}; public slots: virtual QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters); @@ -47,6 +43,3 @@ signals: private: NetworkId _netId; }; - - -#endif //CLIENTIRCLISTHELPER_H