- QPointer<BufferViewConfig> _config;
- Qt::SortOrder _sortOrder;
-
- QColor _FgColorInactiveActivity;
- QColor _FgColorNoActivity;
- QColor _FgColorHighlightActivity;
- QColor _FgColorNewMessageActivity;
- QColor _FgColorOtherActivity;
-
- QPixmap _userOfflineIcon;
- QPixmap _userAwayIcon;
- QPixmap _userOnlineIcon;
- bool _showUserStateIcons;
-
- bool _editMode;
- QAction _enableEditMode;
- QSet<BufferId> _toAdd;
- QSet<BufferId> _toTempRemove;
- QSet<BufferId> _toRemove;
-
- void loadColors();
-
- bool filterAcceptBuffer(const QModelIndex &) const;
- bool filterAcceptNetwork(const QModelIndex &) const;
- void addBuffer(const BufferId &) const;
- static bool bufferIdLessThan(const BufferId &, const BufferId &);
+ QPointer<BufferViewConfig> _config;
+ Qt::SortOrder _sortOrder;
+
+ bool _showServerQueries;
+ bool _editMode;
+ QAction _enableEditMode;
+ QSet<BufferId> _toAdd;
+ QSet<BufferId> _toTempRemove;
+ QSet<BufferId> _toRemove;
+ QString _filterString;
+
+ bool filterAcceptBuffer(const QModelIndex &) const;
+ bool filterAcceptNetwork(const QModelIndex &) const;
+ void addBuffer(const BufferId &bufferId) const;
+ void addBuffers(const QList<BufferId> &bufferIds) const;
+ static bool bufferIdLessThan(const BufferId &, const BufferId &);