| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
compiled_filter_output.h
Go to the documentation of this file.
1
9
10#ifndef COMPILEDFILTEROUTPUT_H
11#define COMPILEDFILTEROUTPUT_H
12
13#include "geometry_state_dialog.h"
14
15#include <config.h>
16
17#include <QList>
18#include <QHash>
19#include <QListWidgetItem>
20
21 typedef struct interface_tag interface_t;
22 typedef QList<interface_t *> InterfaceList;
23
24 namespace Ui {
25 class CompiledFilterOutput;
26}
27
31 class CompiledFilterOutput : public GeometryStateDialog
32{
33 Q_OBJECT
34
35 private:
37 InterfaceList intList_;
38
40 Ui::CompiledFilterOutput *ui;
41
43 QHash<QString, QString> compile_results;
44
46 QPushButton *copy_bt_;
47
51 void setTitle();
52
53#ifdef HAVE_LIBPCAP
59 bool compileFilter(const interface_t *interface);
60
64 void compileFilters();
65#endif
66
67 public:
73 explicit CompiledFilterOutput(QWidget *parent = 0, InterfaceList &intList = *new InterfaceList());
74
78 ~CompiledFilterOutput();
79
80 private slots:
86 void on_interfaceList_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
87
91 void copyFilterText();
92};
93
94#endif // COMPILEDFILTEROUTPUT_H
CompiledFilterOutput::CompiledFilterOutput
CompiledFilterOutput(QWidget *parent=0, InterfaceList &intList= *new InterfaceList())
Constructs a new CompiledFilterOutput dialog.
Definition compiled_filter_output.cpp:40
CompiledFilterOutput::~CompiledFilterOutput
~CompiledFilterOutput()
Destroys the CompiledFilterOutput dialog.
Definition compiled_filter_output.cpp:66
GeometryStateDialog::GeometryStateDialog
GeometryStateDialog(QWidget *parent, Qt::WindowFlags f=Qt::Window)
Constructs a new GeometryStateDialog with the specified parent and window flags.
Definition geometry_state_dialog.h:91
geometry_state_dialog.h
interface_t
Definition androiddump.c:217
interface_tag
Represents a network interface and its full capture configuration as shown in the UI.
Definition capture_opts.h:154