X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.h;h=5211b1e5a046462fb94df3846ffecf3d7785a4a6;hb=6c561d2b7b1bb303cfcd8a013179b1838d315910;hp=44ee21142bbb05cdd2be8aabf0b25ea79ac7f9eb;hpb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;p=quassel.git diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index 44ee2114..5211b1e5 100644 --- a/src/client/clientbufferviewconfig.h +++ b/src/client/clientbufferviewconfig.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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 * @@ -20,14 +20,16 @@ #pragma once +#include "client-export.h" + #include "bufferviewconfig.h" -class ClientBufferViewConfig : public BufferViewConfig +class CLIENT_EXPORT ClientBufferViewConfig : public BufferViewConfig { Q_OBJECT public: - ClientBufferViewConfig(int bufferViewId, QObject *parent = 0); + ClientBufferViewConfig(int bufferViewId, QObject* parent = nullptr); inline bool isLocked() { return _locked || sortAlphabetically(); } inline void setLocked(bool locked) { _locked = locked; } @@ -35,7 +37,7 @@ public: inline void unlock() { setLocked(false); }; private slots: - void ensureDecoration(); // remove this in next release + void ensureDecoration(); // remove this in next release private: bool _locked;