Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_filter_validator.h
Go to the documentation of this file.
1
9
10#ifndef CAPTURE_FILTER_VALIDATOR_H
11#define CAPTURE_FILTER_VALIDATOR_H
12
14
34class CaptureFilterValidator : public FilterValidator
35{
36 Q_OBJECT
37
38public:
39 explicit CaptureFilterValidator(QObject *parent = nullptr);
40
41 QValidator::State validate(QString &input, int &pos) const override;
42 Detail lastDetail() const override { return detail_; }
43
44private:
45 mutable Detail detail_;
46};
47
48#endif // CAPTURE_FILTER_VALIDATOR_H
QValidator::State validate(QString &input, int &pos) const override
Validates input and updates the stashed Detail.
Definition capture_filter_validator.cpp:34
Detail lastDetail() const override
Returns the Detail produced by the most recent validate() call.
Definition capture_filter_validator.h:42
Diagnostic detail produced by the most recent validate() call.
Definition filter_validator.h:39
Definition tvbuff_lz77huff.c:32