- NickViewFilter(NetworkModel *parent = 0);
- QVariant data(const QModelIndex &index, int role) const;
- QVariant foreground(const QModelIndex &index) const;
+ NickViewFilter(const BufferId &bufferId, NetworkModel *parent = 0);
+
+ virtual QVariant data(const QModelIndex &index, int role) const;
+ QVariant icon(const QModelIndex &index) const;
+
+protected:
+ virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
+ QVariant styleData(const QModelIndex &index, int role) const;
+
+private:
+ BufferId _bufferId;