Wireshark  4.3.0
The Wireshark network protocol analyzer
export_dissection_dialog.h
Go to the documentation of this file.
1 
10 #ifndef EXPORT_DISSECTION_DIALOG_H
11 #define EXPORT_DISSECTION_DIALOG_H
12 
13 #include <config.h>
14 
15 #include <glib.h>
16 
17 #include "file.h"
18 #include "epan/print.h"
19 
20 #include "ui/file_dialog.h"
22 
23 #ifndef Q_OS_WIN
24 #include "packet_range_group_box.h"
26 #endif // Q_OS_WIN
27 
28 #include <QMap>
29 
31 {
32  Q_OBJECT
33 
34 public:
35  explicit ExportDissectionDialog(QWidget *parent, capture_file *cap_file, export_type_e export_type, QString selRange = QString());
37 
38 public slots:
39  void show();
40 
41 private slots:
42 #ifndef Q_OS_WIN
43  void dialogAccepted(const QStringList &selected);
44  void exportTypeChanged(QString name_filter);
45  void checkValidity();
46  void on_buttonBox_helpRequested();
47 #endif // Q_OS_WIN
48 
49 private:
50  export_type_e export_type_;
51  capture_file *cap_file_;
52 #ifndef Q_OS_WIN
53  print_args_t print_args_;
54 
55  QMap<QString, export_type_e> export_type_map_;
56  PacketRangeGroupBox packet_range_group_box_;
57 
58  PacketFormatGroupBox packet_format_group_box_;
59 
60  QPushButton *save_bt_;
61 #else
62  QString sel_range_;
63 #endif // Q_OS_WIN
64 };
65 
66 #endif // EXPORT_DISSECTION_DIALOG_H
Definition: export_dissection_dialog.h:31
Definition: packet_format_group_box.h:21
Definition: packet_range_group_box.h:31
The WiresharkFileDialog class.
Definition: wireshark_file_dialog.h:30
Definition: cfile.h:67
Definition: file.h:438