-private:
- bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;
-
- Modes mode;
- QStringList networks;
-};
-Q_DECLARE_OPERATORS_FOR_FLAGS(BufferViewFilter::Modes)
-
-/*****************************************
- * The TreeView showing the Buffers
- *****************************************/
-class BufferView : public QTreeView {
- Q_OBJECT
-
- public:
- BufferView(QWidget *parent = 0);
- void init();
- void setModel(QAbstractItemModel *model);
- void setFilteredModel(QAbstractItemModel *model, BufferViewFilter::Modes mode, QStringList nets);
-
- void dragEnterEvent(QDragEnterEvent *);
-
- protected:
- void rowsInserted (const QModelIndex & parent, int start, int end);
+protected:
+ void dropEvent(QDropEvent *);
+ void rowsInserted (const QModelIndex & parent, int start, int end);