Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_filter_syntax_worker.h
Go to the documentation of this file.
1
10#ifndef CAPTURE_FILTER_SYNTAX_WORKER_H
11#define CAPTURE_FILTER_SYNTAX_WORKER_H
12
13#include <QMutex>
14#include <QObject>
15#include <QWaitCondition>
16
20class CaptureFilterSyntaxWorker : public QObject
21{
22 Q_OBJECT
23
24public:
29 CaptureFilterSyntaxWorker(QObject *parent = 0) : QObject(parent) {}
30
31public slots:
36 void checkFilter(const QString filter);
37
38signals:
45 void syntaxResult(QString filter, int state, QString err_msg);
46};
47
48#endif // CAPTURE_FILTER_SYNTAX_WORKER_H
Worker class for checking capture filter syntax in the background.
Definition capture_filter_syntax_worker.h:21
CaptureFilterSyntaxWorker(QObject *parent=0)
Constructs a new CaptureFilterSyntaxWorker.
Definition capture_filter_syntax_worker.h:29
void checkFilter(const QString filter)
Checks the syntax of the provided capture filter.
Definition capture_filter_syntax_worker.cpp:46
void syntaxResult(QString filter, int state, QString err_msg)
Signal emitted with the result of a syntax check.