Wireshark  4.3.0
The Wireshark network protocol analyzer
remote_capture_dialog.h
Go to the documentation of this file.
1 
10 #ifndef REMOTE_CAPTURE_DIALOG_H
11 #define REMOTE_CAPTURE_DIALOG_H
12 
13 #include <config.h>
14 
15 #ifdef HAVE_PCAP_REMOTE
16 #include <QDialog>
17 #include <glib.h>
18 #include "capture_opts.h"
19 
20 
21 namespace Ui {
22 class RemoteCaptureDialog;
23 }
24 
25 class RemoteCaptureDialog : public QDialog
26 {
27  Q_OBJECT
28 
29 public:
30  explicit RemoteCaptureDialog(QWidget *parent = 0);
31  ~RemoteCaptureDialog();
32 
33 signals:
34  void remoteAdded(GList *rlist, remote_options *roptions);
35 
36 private slots:
37  void on_pwAuth_toggled(bool checked);
38  void on_nullAuth_toggled(bool checked);
39  void apply_remote();
40  void hostChanged(const QString host);
41 
42 private:
43  Ui::RemoteCaptureDialog *ui;
44 
45  void fillComboBox();
46 };
47 #endif
48 #endif // REMOTE_CAPTURE_DIALOG_H