X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewmanager.h;h=61f56caa4c761ba8a405a5668015028e3e972443;hp=17a10c8e11392e4c0b289ad3525c0e86bc103821;hb=cc6e7c08709c4e761e2fd9c2e322751015497003;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/client/clientbufferviewmanager.h b/src/client/clientbufferviewmanager.h index 17a10c8e..61f56caa 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-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,34 +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 +class CLIENT_EXPORT ClientBufferViewManager : public BufferViewManager { - SYNCABLE_OBJECT - Q_OBJECT + 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: - virtual void setInitialized(); + void setInitialized() override; protected: - virtual BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId); + BufferViewConfig* bufferViewConfigFactory(int bufferViewConfigId) override; }; - - -#endif //CLIENTBUFFERVIEWMANAGER_H