X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientirclisthelper.h;h=47d18d792e722b3dd048160e5dd5e0447e5a2786;hp=3cc5b7bf60787c8d04e7c621f4b769f05bfdaf62;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=f6b9eeda207d42c99fc3e9085631722cf2ec83dc diff --git a/src/client/clientirclisthelper.h b/src/client/clientirclisthelper.h index 3cc5b7bf..47d18d79 100644 --- a/src/client/clientirclisthelper.h +++ b/src/client/clientirclisthelper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -15,36 +15,31 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 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 +class ClientIrcListHelper : public IrcListHelper +{ + Q_OBJECT public: - inline ClientIrcListHelper(QObject *object = 0) : IrcListHelper(object) {}; - - inline virtual const QMetaObject *syncMetaObject() const { return &IrcListHelper::staticMetaObject; } + inline ClientIrcListHelper(QObject *object = 0) : IrcListHelper(object) {}; public slots: - virtual QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters); - virtual void receiveChannelList(const NetworkId &netId, const QStringList &channelFilters, const QVariantList &channels); - virtual void reportFinishedList(const NetworkId &netId); - inline virtual void reportError(const QString &error) { emit errorReported(error); } + virtual QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters); + virtual void receiveChannelList(const NetworkId &netId, const QStringList &channelFilters, const QVariantList &channels); + virtual void reportFinishedList(const NetworkId &netId); + inline virtual void reportError(const QString &error) { emit errorReported(error); } signals: - void channelListReceived(const NetworkId &netId, const QStringList &channelFilters, const QList &channelList); - void finishedListReported(const NetworkId &netId); - void errorReported(const QString &error); + void channelListReceived(const NetworkId &netId, const QStringList &channelFilters, const QList &channelList); + void finishedListReported(const NetworkId &netId); + void errorReported(const QString &error); private: - NetworkId _netId; + NetworkId _netId; }; - -#endif //CLIENTIRCLISTHELPER_H