aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/preference_editor_frame.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-09-18 19:20:50 +0200
committerAnders Broman <a.broman58@gmail.com>2017-09-19 06:41:06 +0000
commit59fce46d01582e0d2ffd3a606fdd8b50c713f6a1 (patch)
tree67e54d3b90d82604592e6771bdbd913770aff823 /ui/qt/preference_editor_frame.h
parent939ea8c8ed2b96b2959a1c9869ac5fe6237808f9 (diff)
Qt: Add key events to accept and reject changes in PreferenceEditorFrame
Change-Id: I4a9c4b80b0438cd33c38b274a24a3b1b5db46cb8 Reviewed-on: https://code.wireshark.org/review/23605 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/preference_editor_frame.h')
-rw-r--r--ui/qt/preference_editor_frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/preference_editor_frame.h b/ui/qt/preference_editor_frame.h
index 4969a9bf2c..d765ad1465 100644
--- a/ui/qt/preference_editor_frame.h
+++ b/ui/qt/preference_editor_frame.h
@@ -45,6 +45,10 @@ public slots:
signals:
void showProtocolPreferences(const QString module_name);
+ void pushFilterSyntaxStatus(const QString&);
+
+protected:
+ void keyPressEvent(QKeyEvent *event);
private slots:
// Similar to ModulePreferencesScrollArea