+
+ QVariant data(const QModelIndex &index, int role) const;
+ QVariant icon(const QModelIndex &index) const;
+// QVariant foreground(const QModelIndex &index) const;
+ QVariant checkedState(const QModelIndex &index) const;
+
+ bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
+ bool setCheckedState(const QModelIndex &index, Qt::CheckState state);
+
+ void setConfig(BufferViewConfig *config);
+ inline BufferViewConfig *config() const { return _config; }
+
+ virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
+
+ QList<QAction *> actions(const QModelIndex &index);
+