Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | List of all members
CaptureFilterSyntaxWorker Class Reference

Worker class for checking capture filter syntax in the background. More...

#include <capture_filter_syntax_worker.h>

Inheritance diagram for CaptureFilterSyntaxWorker:

Public Slots

void checkFilter (const QString filter)
 Checks the syntax of the provided capture filter.
 

Signals

void syntaxResult (QString filter, int state, QString err_msg)
 Signal emitted with the result of a syntax check.
 

Public Member Functions

 CaptureFilterSyntaxWorker (QObject *parent=0)
 Constructs a new CaptureFilterSyntaxWorker.
 

Detailed Description

Worker class for checking capture filter syntax in the background.

Constructor & Destructor Documentation

◆ CaptureFilterSyntaxWorker()

CaptureFilterSyntaxWorker::CaptureFilterSyntaxWorker ( QObject *  parent = 0)
inline

Constructs a new CaptureFilterSyntaxWorker.

Parameters
parentThe parent QObject, defaults to 0.

Member Function Documentation

◆ checkFilter

void CaptureFilterSyntaxWorker::checkFilter ( const QString  filter)
slot

Checks the syntax of the provided capture filter.

Parameters
filterThe capture filter string to check.

◆ syntaxResult

void CaptureFilterSyntaxWorker::syntaxResult ( QString  filter,
int  state,
QString  err_msg 
)
signal

Signal emitted with the result of a syntax check.

Parameters
filterThe capture filter that was checked.
stateThe resulting state of the syntax check.
err_msgThe error message if the syntax is invalid.

The documentation for this class was generated from the following files: