X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.h;h=420d2bf7fbd8be2b3a732b01851199f43a78bee4;hp=06205efbbd5f386a8abed79ca423aaa603c8206a;hb=cc6e7c08709c4e761e2fd9c2e322751015497003;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index 06205efb..420d2bf7 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-2019 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