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