|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
A simple class to store the data for a tab in the traffic tab widget. More...
#include <traffic_tab.h>
Public Member Functions | |
| TabData () | |
| Constructs a new empty TabData object. | |
| TabData (const TabData &)=default | |
| Copy constructor. | |
| TabData & | operator= (const TabData &)=default |
| Copy assignment operator. | |
| TabData (QString name, int proto) | |
| Constructs a new TabData object with a specific name and protocol ID. | |
| QString | name () const |
| Retrieves the name of the tab. | |
| int | protoId () const |
| Retrieves the protocol ID. | |
A simple class to store the data for a tab in the traffic tab widget.
| TabData::TabData | ( | QString | name, |
| int | proto | ||
| ) |
Constructs a new TabData object with a specific name and protocol ID.
| name | The name of the tab. |
| proto | The protocol ID associated with the tab. |
| QString TabData::name | ( | ) | const |
Retrieves the name of the tab.
| int TabData::protoId | ( | ) | const |
Retrieves the protocol ID.