X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.h;h=6f3738d12c20cba3100ad770ea43c5c5e962b212;hp=06205efbbd5f386a8abed79ca423aaa603c8206a;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index 06205efb..6f3738d1 100644 --- a/src/client/clientbufferviewconfig.h +++ b/src/client/clientbufferviewconfig.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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 * @@ -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; } @@ -37,11 +37,8 @@ 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; }; - - -#endif //CLIENTBUFFERVIEWCONFIG_H