X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fbufferviewconfig.h;fp=src%2Fcommon%2Fbufferviewconfig.h;h=59164bb70a1c1fffbde43f8be76b2489f3817c37;hp=f940bc70029a91154d68d2bd9e2e14d92c57a04d;hb=3545504d0588f79ac92a7702c4cf78dc0adff05f;hpb=2fd8e1c1d5a04b167ffa73e9c011fd34faebe1fc diff --git a/src/common/bufferviewconfig.h b/src/common/bufferviewconfig.h index f940bc70..59164bb7 100644 --- a/src/common/bufferviewconfig.h +++ b/src/common/bufferviewconfig.h @@ -39,6 +39,7 @@ class BufferViewConfig : public SyncableObject Q_PROPERTY(bool disableDecoration READ disableDecoration WRITE setDisableDecoration) Q_PROPERTY(int allowedBufferTypes READ allowedBufferTypes WRITE setAllowedBufferTypes) Q_PROPERTY(int minimumActivity READ minimumActivity WRITE setMinimumActivity) + Q_PROPERTY(bool showSearch READ showSearch WRITE setShowSearch) public : BufferViewConfig(int bufferViewId, QObject *parent = 0); @@ -76,6 +77,9 @@ public slots: inline bool hideInactiveNetworks() const { return _hideInactiveNetworks; } void setHideInactiveNetworks(bool hideInactiveNetworks); + inline bool showSearch() const { return _showSearch; } + void setShowSearch(bool showSearch); + virtual inline void requestSetBufferViewName(const QString &bufferViewName) { REQUEST(ARG(bufferViewName)) } const QList &bufferList() const { return _buffers; } @@ -135,6 +139,7 @@ private: bool _disableDecoration; int _allowedBufferTypes; int _minimumActivity; + bool _showSearch; QList _buffers; QSet _removedBuffers; QSet _temporarilyRemovedBuffers;