| 14 | } |
| 15 | |
| 16 | QVariant PacketLogModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 17 | { |
| 18 | if (role == Qt::DisplayRole) |
| 19 | { |
| 20 | if (orientation == Qt::Horizontal) { |
| 21 | return tableHeaders.at(section); |
| 22 | } |
| 23 | } |
| 24 | return QVariant(); |
| 25 | } |
| 26 | |
| 27 | int PacketLogModel::rowCount(const QModelIndex &parent) const |
| 28 | { |
nothing calls this directly
no outgoing calls
no test coverage detected