X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclient%2Fclientbufferviewconfig.h;h=faf378310a97bd5343f95ce08157cc53c216f676;hb=694f9bfbf7f1af19108461c7e00d133e55082bce;hp=cac0be7cc585d24563f406fd305de3bedf7aeecf;hpb=e33d712c496a8d3d6d56ec193d07ebc71fab44f6;p=quassel.git diff --git a/src/client/clientbufferviewconfig.h b/src/client/clientbufferviewconfig.h index cac0be7c..faf37831 100644 --- a/src/client/clientbufferviewconfig.h +++ b/src/client/clientbufferviewconfig.h @@ -23,22 +23,25 @@ #include "bufferviewconfig.h" -class ClientBufferViewConfig : public BufferViewConfig { - Q_OBJECT +class ClientBufferViewConfig : public BufferViewConfig +{ + SYNCABLE_OBJECT + Q_OBJECT public: - ClientBufferViewConfig(int bufferViewId, QObject *parent = 0); + ClientBufferViewConfig(int bufferViewId, QObject *parent = 0); - inline bool isLocked() { return _locked || sortAlphabetically(); } - inline void setLocked(bool locked) { _locked = locked; } - inline void lock() { setLocked(true); }; - inline void unlock() { setLocked(false); }; + inline bool isLocked() { return _locked || sortAlphabetically(); } + inline void setLocked(bool locked) { _locked = locked; } + inline void lock() { setLocked(true); }; + inline void unlock() { setLocked(false); }; private slots: - void ensureDecoration(); // remove this in next release + void ensureDecoration(); // remove this in next release private: - bool _locked; + bool _locked; }; + #endif //CLIENTBUFFERVIEWCONFIG_H