X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.h;h=8205d2bbfbb8c7169fb82508d49a3230a526d5ed;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hp=1dd65c359d6e090d2836a7e06090ffd06808090f;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index 1dd65c35..8205d2bb 100644 --- a/src/client/clientbufferviewconfig.h +++ b/src/client/clientbufferviewconfig.h @@ -18,18 +18,18 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLIENTBUFFERVIEWCONFIG_H -#define CLIENTBUFFERVIEWCONFIG_H +#pragma once + +#include "client-export.h" #include "bufferviewconfig.h" -class ClientBufferViewConfig : public BufferViewConfig +class CLIENT_EXPORT ClientBufferViewConfig : public BufferViewConfig { - SYNCABLE_OBJECT - Q_OBJECT + 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; } @@ -42,6 +42,3 @@ private slots: private: bool _locked; }; - - -#endif //CLIENTBUFFERVIEWCONFIG_H