summaryrefslogtreecommitdiffstats
path: root/ui/qt/export_dissection_dialog.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /ui/qt/export_dissection_dialog.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/qt/export_dissection_dialog.h')
-rw-r--r--ui/qt/export_dissection_dialog.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/ui/qt/export_dissection_dialog.h b/ui/qt/export_dissection_dialog.h
index 6d794918..47cb8ac8 100644
--- a/ui/qt/export_dissection_dialog.h
+++ b/ui/qt/export_dissection_dialog.h
@@ -12,18 +12,14 @@
#include <config.h>
-#include <glib.h>
-
#include "file.h"
#include "epan/print.h"
#include "ui/file_dialog.h"
#include <ui/qt/widgets/wireshark_file_dialog.h>
-#ifndef Q_OS_WIN
#include "packet_range_group_box.h"
#include "packet_format_group_box.h"
-#endif // Q_OS_WIN
#include <QMap>
@@ -38,18 +34,18 @@ public:
public slots:
void show();
+protected:
+ bool eventFilter(QObject *obj, QEvent *event) override;
+
private slots:
-#ifndef Q_OS_WIN
void dialogAccepted(const QStringList &selected);
void exportTypeChanged(QString name_filter);
void checkValidity();
void on_buttonBox_helpRequested();
-#endif // Q_OS_WIN
private:
export_type_e export_type_;
capture_file *cap_file_;
-#ifndef Q_OS_WIN
print_args_t print_args_;
QMap<QString, export_type_e> export_type_map_;
@@ -58,9 +54,8 @@ private:
PacketFormatGroupBox packet_format_group_box_;
QPushButton *save_bt_;
-#else
- QString sel_range_;
-#endif // Q_OS_WIN
+
+ bool isValid();
};
#endif // EXPORT_DISSECTION_DIALOG_H