| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
bluetooth_devices_dialog.h
Go to the documentation of this file.
1
10#ifndef BLUETOOTH_DEVICES_DIALOG_H
11#define BLUETOOTH_DEVICES_DIALOG_H
12
13#include "config.h"
14
15#include "wireshark_dialog.h"
16#include "cfile.h"
17#include "packet_list.h"
18
19#include "epan/tap.h"
20
21#include <QMenu>
22
23class QAbstractButton;
24class QPushButton;
25class QTreeWidgetItem;
26
27 typedef struct _bluetooth_devices_tapinfo_t {
28 tap_reset_cb tap_reset;
29 tap_packet_cb tap_packet;
30 void *ui;
31} bluetooth_devices_tapinfo_t;
32
33namespace Ui {
34class BluetoothDevicesDialog;
35}
36
37 class BluetoothDevicesDialog : public WiresharkDialog
38{
39 Q_OBJECT
40
41public:
42 explicit BluetoothDevicesDialog(QWidget &parent, CaptureFile &cf, PacketList *packet_list);
43 ~BluetoothDevicesDialog();
44
45public slots:
46
47signals:
48 void updateFilter(QString filter, bool force = false);
49 void captureFileChanged(capture_file *cf);
50 void goToPacket(int packet_num);
51
52protected:
53 void keyPressEvent(QKeyEvent *event);
54 void captureFileClosed();
55
56protected slots:
57 void changeEvent(QEvent* event);
58
59private:
60 Ui::BluetoothDevicesDialog *ui;
61 PacketList *packet_list_;
62
63 bluetooth_devices_tapinfo_t tapinfo_;
64 QMenu context_menu_;
65
66 static void tapReset(void *tapinfo_ptr);
67 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
68
69private slots:
70 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
71 void on_buttonBox_clicked(QAbstractButton *button);
72 void on_actionMark_Unmark_Cell_triggered();
73 void on_actionMark_Unmark_Row_triggered();
74 void on_actionCopy_Cell_triggered();
75 void on_actionCopy_Rows_triggered();
76 void on_actionCopy_All_triggered();
77 void on_actionSave_as_image_triggered();
78 void tableContextMenu(const QPoint &pos);
79 void tableItemDoubleClicked(QTreeWidgetItem *item, int column);
80 void interfaceCurrentIndexChanged(int index);
81 void showInformationStepsChanged(int state);
82};
83
84#endif // BLUETOOTH_DEVICES_DIALOG_H
cfile.h
BluetoothDevicesDialog
Definition bluetooth_devices_dialog.h:38
BluetoothDevicesDialog::captureFileClosed
void captureFileClosed()
Called when the capture file was closed. This can be used to enable or disable widgets according to t...
Definition bluetooth_devices_dialog.cpp:121
CaptureFile
Definition capture_file.h:21
PacketList
Definition packet_list.h:40
WiresharkDialog
Definition wireshark_dialog.h:35
packet_list.h
_bluetooth_devices_tapinfo_t
Definition bluetooth_devices_dialog.h:27
_capture_file
Definition cfile.h:67
_packet_info
Definition packet_info.h:43
epan_dissect
Definition epan_dissect.h:28
tap.h
tap_packet_status
tap_packet_status
Definition tap.h:25
wireshark_dialog.h