Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

display_filter_combo.h
1 /* display_filter_combo.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #ifndef DISPLAY_FILTER_COMBO_H
11 #define DISPLAY_FILTER_COMBO_H
12
13 #include <QComboBox>
14 #include <QList>
15
16 class DisplayFilterCombo : public QComboBox
17 {
18 Q_OBJECT
19 public:
20 explicit DisplayFilterCombo(QWidget *parent = 0);
21 bool addRecentCapture(const char *filter);
22 void writeRecent(FILE *rf);
23
24 signals:
25
26 protected:
27 virtual bool event(QEvent *event);
28
29 public slots:
30 bool checkDisplayFilter();
31 void applyDisplayFilter();
32 void setDisplayFilter(QString filter);
33
34 private slots:
35 void updateMaxCount();
36 };
37
38 #endif // DISPLAY_FILTER_COMBO_H
39
40 /*
41 * Editor modelines
42 *
43 * Local Variables:
44 * c-basic-offset: 4
45 * tab-width: 8
46 * indent-tabs-mode: nil
47 * End:
48 *
49 * ex: set shiftwidth=4 tabstop=8 expandtab:
50 * :indentSize=4:tabSize=8:noTabs=true:
51 */
DisplayFilterCombo
Definition: display_filter_combo.h:16