Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
compiled_filter_output.h
Go to the documentation of this file.
1
10#ifndef COMPILEDFILTEROUTPUT_H
11#define COMPILEDFILTEROUTPUT_H
12
14
15#include <config.h>
16#include <QList>
17#include <QHash>
18#include <QListWidgetItem>
19
20#include <glib.h>
21
23 InterfaceFilter(QString intf, QString filt) : interface(intf), filter(filt) {}
24
25 QString interface;
26 QString filter;
27};
28
29namespace Ui {
31}
32
34{
35 Q_OBJECT
36
37private:
38 QList<InterfaceFilter> intList_;
39 Ui::CompiledFilterOutput *ui;
40 GMutex pcap_compile_mtx_;
41 QHash<QString, QString> compile_results;
42 QListWidget *interface_list_;
43 QPushButton *copy_bt_;
44#ifdef HAVE_LIBPCAP
45 void compileFilter();
46#endif
47
48public:
49 explicit CompiledFilterOutput(QWidget *parent = 0, QList<InterfaceFilter> &intList = *new QList<InterfaceFilter>());
50
52
53private slots:
54 void on_interfaceList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
55 void copyFilterText();
56};
57
58#endif // COMPILEDFILTEROUTPUT_H
Definition compiled_filter_output.h:34
Definition geometry_state_dialog.h:17
Definition compiled_filter_output.h:22