X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientirclisthelper.h;h=041019f7bb1aa08e965afcca7a65c90c37339489;hb=082cb8c8eb6db90cbb2166a0098874e76d5c6ad9;hp=f852c07195b4daf97decf99f1be24cd7e53743a9;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/client/clientirclisthelper.h b/src/client/clientirclisthelper.h index f852c071..041019f7 100644 --- a/src/client/clientirclisthelper.h +++ b/src/client/clientirclisthelper.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -20,25 +20,30 @@ #pragma once +#include "client-export.h" + #include "irclisthelper.h" -class ClientIrcListHelper : public IrcListHelper +class CLIENT_EXPORT ClientIrcListHelper : public IrcListHelper { Q_OBJECT public: - inline ClientIrcListHelper(QObject *object = nullptr) : IrcListHelper(object) {}; + inline ClientIrcListHelper(QObject* object = nullptr) + : IrcListHelper(object){}; public slots: - QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters) override; - void receiveChannelList(const NetworkId &netId, const QStringList &channelFilters, const QVariantList &channels) override; - void reportFinishedList(const NetworkId &netId) override; - inline void reportError(const QString &error) override { emit errorReported(error); } + QVariantList requestChannelList(const NetworkId& netId, const QStringList& channelFilters) override; + void receiveChannelList(const NetworkId& netId, const QStringList& channelFilters, const QVariantList& channels) override; + void reportFinishedList(const NetworkId& netId) override; + inline void reportError(const QString& error) override { 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;