X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewmanager.h;h=c72098af6499333975d120c55d6e7009b5ccc1dc;hp=f190362b827dd8cafc5026ca2b46ac445b4520ca;hb=a95ad2de573027f9bee36db972bcae4195168d0c;hpb=21e31fe43c4577cad271b070e4df4906ead128d8 diff --git a/src/client/clientbufferviewmanager.h b/src/client/clientbufferviewmanager.h index f190362b..c72098af 100644 --- a/src/client/clientbufferviewmanager.h +++ b/src/client/clientbufferviewmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 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 * @@ -15,28 +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 CLIENTBUFFERVIEWMANAGER_H -#define CLIENTBUFFERVIEWMANAGER_H +#pragma once + +#include "client-export.h" #include "bufferviewmanager.h" class ClientBufferViewConfig; class BufferViewOverlay; -class ClientBufferViewManager : public BufferViewManager { - Q_OBJECT +class CLIENT_EXPORT ClientBufferViewManager : public BufferViewManager +{ + Q_OBJECT public: - ClientBufferViewManager(SignalProxy *proxy, QObject *parent = 0); + ClientBufferViewManager(SignalProxy* proxy, QObject* parent = nullptr); + + QList clientBufferViewConfigs() const; + ClientBufferViewConfig* clientBufferViewConfig(int bufferViewId) const; - QList clientBufferViewConfigs() const; - ClientBufferViewConfig *clientBufferViewConfig(int bufferViewId) const; +public slots: + void setInitialized() override; protected: - virtual BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId); + BufferViewConfig* bufferViewConfigFactory(int bufferViewConfigId) override; }; - -#endif //CLIENTBUFFERVIEWMANAGER_H