| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
capture_filter_syntax_worker.h
Go to the documentation of this file.
1
9
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
20 class CaptureFilterSyntaxWorker : public QObject
21{
22 Q_OBJECT
23
24 public:
29 CaptureFilterSyntaxWorker(QObject *parent = 0) : QObject(parent) {}
30
31 public 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
CaptureFilterSyntaxWorker::CaptureFilterSyntaxWorker
CaptureFilterSyntaxWorker(QObject *parent=0)
Constructs a new CaptureFilterSyntaxWorker.
Definition capture_filter_syntax_worker.h:29
CaptureFilterSyntaxWorker::checkFilter
void checkFilter(const QString filter)
Checks the syntax of the provided capture filter.
Definition capture_filter_syntax_worker.cpp:46
CaptureFilterSyntaxWorker::syntaxResult
void syntaxResult(QString filter, int state, QString err_msg)
Signal emitted with the result of a syntax check.