X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbufferviewmanager.h;h=fcfb7d09b6a2b3d9f149363588b3a55486870301;hp=6e4fd6345fcce3f7dedd2d72fe8898e6f3242c98;hb=7fef34357cbd749e119dc3c47dda0ba63d068a03;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/common/bufferviewmanager.h b/src/common/bufferviewmanager.h index 6e4fd634..fcfb7d09 100644 --- a/src/common/bufferviewmanager.h +++ b/src/common/bufferviewmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -43,12 +43,6 @@ public: BufferViewConfig *bufferViewConfig(int bufferViewId) const; public slots: - void addBufferViewConfig(BufferViewConfig *config); - void addBufferViewConfig(int bufferViewConfigId); - inline void newBufferViewConfig(int bufferViewConfigId) { addBufferViewConfig(bufferViewConfigId); } - - void deleteBufferViewConfig(int bufferViewConfigId); - QVariantList initBufferViewIds() const; void initSetBufferViewIds(const QVariantList bufferViewIds); @@ -70,6 +64,10 @@ protected: inline const BufferViewConfigHash &bufferViewConfigHash() { return _bufferViewConfigs; } virtual BufferViewConfig *bufferViewConfigFactory(int bufferViewConfigId); + void addBufferViewConfig(BufferViewConfig *config); + void addBufferViewConfig(int bufferViewConfigId); + void deleteBufferViewConfig(int bufferViewConfigId); + private: BufferViewConfigHash _bufferViewConfigs; SignalProxy *_proxy;