Wireshark  4.3.0
The Wireshark network protocol analyzer
compiled_filter_output.h
Go to the documentation of this file.
1 
10 #ifndef COMPILEDFILTEROUTPUT_H
11 #define COMPILEDFILTEROUTPUT_H
12 
13 #include "geometry_state_dialog.h"
14 
15 #include <config.h>
16 #include <QList>
17 #include <QHash>
18 #include <QListWidgetItem>
19 
20 #include <glib.h>
21 
22 namespace Ui {
24 }
25 
27 {
28  Q_OBJECT
29 
30 private:
31  QStringList intList_;
32  QString &compile_filter_;
33  Ui::CompiledFilterOutput *ui;
34  GMutex *pcap_compile_mtx;
35  QHash<QString, QString> compile_results;
36  QListWidget *interface_list_;
37  QPushButton *copy_bt_;
38 #ifdef HAVE_LIBPCAP
39  void compileFilter();
40 #endif
41 
42 public:
43  explicit CompiledFilterOutput(QWidget *parent = 0, QStringList &intList = *new QStringList(), QString &filter = *new QString());
44 
46 
47 private slots:
48  void on_interfaceList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
49  void copyFilterText();
50 };
51 
52 #endif // COMPILEDFILTEROUTPUT_H
Definition: compiled_filter_output.h:27
Definition: geometry_state_dialog.h:16