aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/enabled_protocols_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-07-27 16:17:44 -0700
committerGerald Combs <gerald@wireshark.org>2015-07-28 03:54:38 +0000
commit65a1f60e70184faf0238e4df2585af056be1e4c7 (patch)
tree5d071fb00afc44faf08c489ccf98d073033fb0ab /ui/qt/enabled_protocols_dialog.h
parent01bc31cded7290433704e9ef98a90e338c3ea28b (diff)
Add "Disable Protocol..." to the ProtoTree context menu.
Assume that "I don't want to see this" counts as a preference and add it under the "Protocol Preferences" submenu. Change-Id: I396e2476509db9df895826f8817b191893bcb14a Reviewed-on: https://code.wireshark.org/review/9812 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/enabled_protocols_dialog.h')
-rw-r--r--ui/qt/enabled_protocols_dialog.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ui/qt/enabled_protocols_dialog.h b/ui/qt/enabled_protocols_dialog.h
index 129b856135..6054f7dfd4 100644
--- a/ui/qt/enabled_protocols_dialog.h
+++ b/ui/qt/enabled_protocols_dialog.h
@@ -28,6 +28,8 @@ namespace Ui {
class EnabledProtocolsDialog;
}
+struct _protocol;
+
class QAbstractButton;
class EnabledProtocolsDialog : public QDialog
@@ -37,20 +39,15 @@ class EnabledProtocolsDialog : public QDialog
public:
explicit EnabledProtocolsDialog(QWidget *parent);
~EnabledProtocolsDialog();
+ void selectProtocol(struct _protocol *protocol);
private slots:
void on_invert_button__clicked();
-
void on_enable_all_button__clicked();
-
void on_disable_all_button__clicked();
-
void on_search_line_edit__textChanged(const QString &search_re);
-
void on_buttonBox_accepted();
-
void on_buttonBox_clicked(QAbstractButton *button);
-
void on_buttonBox_helpRequested();
private: