- void setFilteredModel(QAbstractItemModel *model, BufferViewFilter::Modes mode, QList<NetworkId> nets);
-
+ void setFilteredModel(QAbstractItemModel *model, BufferViewConfig *config);
+ virtual void setSelectionModel(QItemSelectionModel *selectionModel);
+
+ void setConfig(BufferViewConfig *config);
+ inline BufferViewConfig *config() { return _config; }
+
+ void addActionsToMenu(QMenu *menu, const QModelIndex &index);
+ void addFilterActions(QMenu *contextMenu, const QModelIndex &index);
+
+public slots:
+ void setRootIndexForNetworkId(const NetworkId &networkId);
+ void removeSelectedBuffers(bool permanently = false);
+ void menuActionTriggered(QAction *);
+