|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Data record for a single row in the traffic-types protocol list, storing a protocol's numeric ID, display name, and selection state. More...
#include <traffic_types_list.h>
Public Member Functions | |
| TrafficTypesRowData (int protocol, QString name) | |
| Constructs a row data record for the given protocol. | |
| int | protocol () const |
| Returns the numeric protocol ID. | |
| QString | name () const |
| Returns the human-readable protocol name. | |
| bool | checked () const |
| Returns whether this protocol is currently checked (selected). | |
| void | setChecked (bool checked) |
| Sets the checked (selected) state of this protocol. | |
Data record for a single row in the traffic-types protocol list, storing a protocol's numeric ID, display name, and selection state.
| TrafficTypesRowData::TrafficTypesRowData | ( | int | protocol, |
| QString | name | ||
| ) |
Constructs a row data record for the given protocol.
| protocol | Numeric protocol ID. |
| name | Human-readable protocol name. |
| bool TrafficTypesRowData::checked | ( | ) | const |
Returns whether this protocol is currently checked (selected).
true if checked. | QString TrafficTypesRowData::name | ( | ) | const |
Returns the human-readable protocol name.
| int TrafficTypesRowData::protocol | ( | ) | const |
Returns the numeric protocol ID.
| void TrafficTypesRowData::setChecked | ( | bool | checked | ) |
Sets the checked (selected) state of this protocol.
| checked | true to select; false to deselect. |