Wireshark  4.3.0
The Wireshark network protocol analyzer
wireshark_file_dialog.h
Go to the documentation of this file.
1 
10 #ifndef WIRESHARK_FILE_DIALOG_H
11 #define WIRESHARK_FILE_DIALOG_H
12 
13 #include <QFileDialog>
14 
29 class WiresharkFileDialog : public QFileDialog
30 {
31 public:
32  WiresharkFileDialog(QWidget *parent = nullptr, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString());
33  static QString getExistingDirectory(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), Options options = ShowDirsOnly);
34  static QString getOpenFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options());
35  static QString getSaveFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options());
36 };
37 
38 #endif // WIRESHARK_FILE_DIALOG_H
The WiresharkFileDialog class.
Definition: wireshark_file_dialog.h:30