A toolbar widget dynamically generated for interface-specific controls.
More...
#include <interface_toolbar.h>
|
|
void | interfaceListChanged () |
| | Slot triggered when the global list of interfaces changes.
|
| |
| void | controlReceived (QString ifname, int num, int command, QByteArray message) |
| | Slot triggered when a control message is received from an interface.
|
| |
|
|
void | closeReader () |
| | Signal emitted to request the reader threads to close.
|
| |
A toolbar widget dynamically generated for interface-specific controls.
◆ InterfaceToolbar()
| InterfaceToolbar::InterfaceToolbar |
( |
QWidget * |
parent = 0, |
|
|
const iface_toolbar * |
toolbar = NULL |
|
) |
| |
|
explicit |
Constructs a new InterfaceToolbar.
- Parameters
-
| parent | The parent widget, defaults to 0. |
| toolbar | Pointer to the core iface_toolbar configuration, defaults to NULL. |
◆ controlReceived
| void InterfaceToolbar::controlReceived |
( |
QString |
ifname, |
|
|
int |
num, |
|
|
int |
command, |
|
|
QByteArray |
message |
|
) |
| |
|
slot |
Slot triggered when a control message is received from an interface.
- Parameters
-
| ifname | The name of the interface sending the control. |
| num | The control number. |
| command | The command type. |
| message | The payload message. |
◆ hasInterface()
| bool InterfaceToolbar::hasInterface |
( |
QString |
ifname | ) |
|
Checks if this toolbar is managing a specific interface.
- Parameters
-
| ifname | The interface name to check. |
- Returns
- True if the interface is managed here, false otherwise.
◆ startCapture()
| void InterfaceToolbar::startCapture |
( |
GArray * |
ifaces | ) |
|
Initializes and starts the capture controls for the given interfaces.
- Parameters
-
| ifaces | Array of interfaces participating in the capture. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/interface_toolbar.h
- /builds/wireshark/wireshark/ui/qt/interface_toolbar.cpp