- virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
- virtual QString idString() const;
- inline bool isSingleBufferFilter() const { return _validBuffers.count() == 1; }
- BufferId singleBufferId() const { return *(_validBuffers.constBegin()); }
- inline bool containsBuffer(const BufferId &id) const { return _validBuffers.contains(id); }
+ virtual QString idString() const;
+
+ bool isSingleBufferFilter() const { return _validBuffers.count() == 1; }
+ BufferId singleBufferId() const { return *(_validBuffers.constBegin()); }
+ bool containsBuffer(const BufferId &id) const { return _validBuffers.contains(id); }
+ QSet<BufferId> containedBuffers() const { return _validBuffers; }
+
+ bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;