Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / supported_protocols_dialog.h
blob89afd3faea545d8a05ba54aa935e63f6b18270d9
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 SUPPORTED_PROTOCOLS_DIALOG_H
11 #define SUPPORTED_PROTOCOLS_DIALOG_H
13 #include "geometry_state_dialog.h"
14 #include <ui/qt/models/supported_protocols_model.h>
16 namespace Ui {
17 class SupportedProtocolsDialog;
20 class SupportedProtocolsDialog : public GeometryStateDialog
22 Q_OBJECT
24 public:
25 explicit SupportedProtocolsDialog(QWidget *parent = 0);
26 ~SupportedProtocolsDialog();
28 private:
29 Ui::SupportedProtocolsDialog *ui;
31 SupportedProtocolsModel* supported_protocols_model_;
32 SupportedProtocolsProxyModel* proxyModel_;
33 QTimer *searchLineEditTimer;
34 QString searchLineEditText;
36 void updateStatistics();
38 private slots:
39 void fillTree();
41 /**
42 * Update search results from the searchLineEdit field
44 * This is performed separately from on_searchLineEdit_textChanged
45 * to support debouncing.
47 void updateSearchLineEdit();
48 void on_searchLineEdit_textChanged(const QString &search_re);
51 #endif // SUPPORTED_PROTOCOLS_DIALOG_H