46 TRAFFIC_PROTOCOL = Qt::UserRole,
55 } eTrafficColumnNames;
59 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
60 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const override;
61 virtual QVariant data(
const QModelIndex &idx,
int role = Qt::DisplayRole)
const override;
62 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
64 virtual bool setData(
const QModelIndex &idx,
const QVariant &value,
int role)
override;
65 virtual Qt::ItemFlags flags (
const QModelIndex & idx)
const override;
67 QList<int> protocols()
const;
70 void selectProtocols(QList<int> protocols);
73 void protocolsChanged(QList<int> protocols);
76 QList<TrafficTypesRowData> _allTaps;