Wireshark  4.3.0
The Wireshark network protocol analyzer
file_set_dialog.h
Go to the documentation of this file.
1 
10 #ifndef FILE_SET_DIALOG_H
11 #define FILE_SET_DIALOG_H
12 
13 #include <config.h>
14 
15 #include <glib.h>
16 
17 #include "file.h"
18 #include "fileset.h"
19 
20 #include "geometry_state_dialog.h"
21 
22 #include <QItemSelection>
23 
24 namespace Ui {
25 class FileSetDialog;
26 }
27 
28 class FilesetEntryModel;
29 
31 {
32  Q_OBJECT
33 
34 public:
35  explicit FileSetDialog(QWidget *parent = 0);
36  ~FileSetDialog();
37 
38  void fileOpened(const capture_file *cf);
39  void fileClosed();
40  void addFile(fileset_entry *entry = NULL);
41  void beginAddFile();
42  void endAddFile();
43 
44 signals:
45  void fileSetOpenCaptureFile(QString);
46 
47 private slots:
48  void selectionChanged(const QItemSelection &selected, const QItemSelection &);
49  void on_buttonBox_helpRequested();
50 
51 private:
52  Ui::FileSetDialog *fs_ui_;
53  FilesetEntryModel *fileset_entry_model_;
54  QPushButton *close_button_;
55  int cur_idx_;
56 };
57 
58 #endif // FILE_SET_DIALOG_H
Definition: file_set_dialog.h:31
Definition: fileset_entry_model.h:24
Definition: geometry_state_dialog.h:16
Definition: cfile.h:67
Definition: fileset.h:19