X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientirclisthelper.h;h=a1961ec86ecb70c6860d22add6a6bf13ba9b55c3;hb=4a5f59de4b332d16ff8942051e29d9354b5bbac3;hp=f852c07195b4daf97decf99f1be24cd7e53743a9;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/client/clientirclisthelper.h b/src/client/clientirclisthelper.h index f852c071..a1961ec8 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-2019 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;