X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientbufferviewconfig.h;h=8205d2bbfbb8c7169fb82508d49a3230a526d5ed;hp=3a08aca05d19daa4d882f4e1a6079652fd5dba67;hb=158443f71d48215eea8b47b836b61afd77654b78;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3 diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index 3a08aca0..8205d2bb 100644 --- a/src/client/clientbufferviewconfig.h +++ b/src/client/clientbufferviewconfig.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 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; } @@ -42,6 +42,3 @@ private slots: private: bool _locked; }; - - -#endif //CLIENTBUFFERVIEWCONFIG_H