X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewmanager.h;h=62123a11c75b9b3055934c5ffa04935070673d3c;hb=c194ed5fb3d15e14b9364f9796d3521910dc72fe;hp=096390895d71953fec746d31d310c044b22e6ddb;hpb=92f256c9ef102ef5af61164bb17b63e501510541;p=quassel.git diff --git a/src/client/clientbufferviewmanager.h b/src/client/clientbufferviewmanager.h index 09639089..62123a11 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-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,35 +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); - - QList clientBufferViewConfigs() const; - ClientBufferViewConfig *clientBufferViewConfig(int bufferViewId) const; + ClientBufferViewManager(SignalProxy *proxy, QObject *parent = nullptr); -protected: - virtual BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId); + QList clientBufferViewConfigs() const; + ClientBufferViewConfig *clientBufferViewConfig(int bufferViewId) const; -signals: - void viewsInitialized(); +public slots: + void setInitialized() override; -private slots: - void waitForConfigInit(); - void configInitBarrier(); +protected: + BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId) override; }; - -#endif //CLIENTBUFFERVIEWMANAGER_H