Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_preferences_frame.h
Go to the documentation of this file.
1
10#ifndef CAPTURE_PREFERENCES_FRAME_H
11#define CAPTURE_PREFERENCES_FRAME_H
12
13#include <QFrame>
14
15#include <epan/prefs.h>
16
17namespace Ui {
19}
20
21class CapturePreferencesFrame : public QFrame
22{
23 Q_OBJECT
24
25public:
26 explicit CapturePreferencesFrame(QWidget *parent = 0);
28
29protected:
30 void showEvent(QShowEvent *evt);
31
32private slots:
33 void on_defaultInterfaceComboBox_editTextChanged(const QString &new_iface);
34 void on_capturePromModeCheckBox_toggled(bool checked);
35 void on_captureMonitorModeCheckBox_toggled(bool checked);
36 void on_capturePcapNgCheckBox_toggled(bool checked);
37 void on_captureRealTimeCheckBox_toggled(bool checked);
38 void on_captureUpdateIntervalLineEdit_textChanged(const QString &new_str);
39 void on_captureNoInterfaceLoad_toggled(bool checked);
40 void on_captureNoExtcapCheckBox_toggled(bool checked);
41
42private:
43 Ui::CapturePreferencesFrame *ui;
44
45 pref_t *pref_device_;
46 pref_t *pref_prom_mode_;
47 pref_t *pref_monitor_mode_;
48 pref_t *pref_pcap_ng_;
49 pref_t *pref_real_time_;
50 pref_t *pref_update_interval_;
51 pref_t *pref_no_interface_load_;
52 pref_t *pref_no_extcap_;
53
54 void updateWidgets();
55};
56
57#endif // CAPTURE_PREFERENCES_FRAME_H
Definition capture_preferences_frame.h:22
Definition prefs.c:248