| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
capture_filter_completer.h
Go to the documentation of this file.
1
9
10#ifndef CAPTURE_FILTER_COMPLETER_H
11#define CAPTURE_FILTER_COMPLETER_H
12
13#include <ui/qt/models/filter_completer.h>
14
15 class QStringListModel;
16
25 class CaptureFilterCompleter : public FilterCompleter
26{
27 Q_OBJECT
28
29 public:
30 explicit CaptureFilterCompleter(QObject *parent = nullptr);
31
37 QStringListModel *primitivesModel() const { return primitives_; }
38
40 static QStringList primitives();
41
42 private:
43 QStringListModel *primitives_;
44};
45
46#endif // CAPTURE_FILTER_COMPLETER_H
CaptureFilterCompleter::primitives
static QStringList primitives()
The fixed list of libpcap filter primitives.
Definition capture_filter_completer.cpp:21
CaptureFilterCompleter::primitivesModel
QStringListModel * primitivesModel() const
A model over the fixed libpcap primitive list, owned by this completer. The host adds it as a source ...
Definition capture_filter_completer.h:37
filter_completer.h