Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / ui / qt / enabled_protocols_dialog.h
blobeb72ea8f524b26eedf9d12a42190fff86917e4ac
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef ENABLED_PROTOCOLS_DIALOG_H
11 #define ENABLED_PROTOCOLS_DIALOG_H
13 #include "geometry_state_dialog.h"
14 #include "wireshark_dialog.h"
15 #include <ui/qt/models/enabled_protocols_model.h>
17 namespace Ui {
18 class EnabledProtocolsDialog;
21 class EnabledProtocolsDialog : public GeometryStateDialog
23 Q_OBJECT
25 public:
26 explicit EnabledProtocolsDialog(QWidget *parent);
27 virtual ~EnabledProtocolsDialog();
29 private slots:
30 void on_invert_button__clicked();
31 void on_enable_all_button__clicked();
32 void on_disable_all_button__clicked();
33 void on_search_line_edit__textChanged(const QString &);
34 void on_cmbSearchType_currentIndexChanged(int);
35 void on_cmbProtocolType_currentIndexChanged(int);
36 void on_buttonBox_accepted();
37 void on_buttonBox_helpRequested();
38 void fillTree();
40 private:
41 Ui::EnabledProtocolsDialog *ui;
43 EnabledProtocolsModel* enabled_protocols_model_;
44 EnabledProtocolsProxyModel* proxyModel_;
46 void searchFilterChange();
49 #endif // ENABLED_PROTOCOLS_DIALOG_H