diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-08-23 02:59:31 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-08-23 02:59:31 +0000 |
commit | fa0a6beb0e284deaedc86932dfc2b6303ef77c7e (patch) | |
tree | e8b75939934a9dfbea7ee8237f5955618c082816 /ui/qt/display_filter_edit.h | |
parent | 2af3ce88bd0a3e7f46df646d0c1e46e615d45b25 (diff) | |
download | wireshark-fa0a6beb0e284deaedc86932dfc2b6303ef77c7e.tar.gz |
Catch key events where needed and direct them to the display filter
QLineEdit. Use Tango colors for syntax highlighting. Rename a few
variables.
svn path=/trunk/; revision=44620
Diffstat (limited to 'ui/qt/display_filter_edit.h')
-rw-r--r-- | ui/qt/display_filter_edit.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/qt/display_filter_edit.h b/ui/qt/display_filter_edit.h index 2c0f05dfe1..3ffd29b5e1 100644 --- a/ui/qt/display_filter_edit.h +++ b/ui/qt/display_filter_edit.h @@ -35,7 +35,7 @@ public: explicit DisplayFilterEdit(QWidget *parent = 0, bool plain = false); enum SyntaxState { Empty, Invalid, Deprecated, Valid }; SyntaxState syntaxState() const - { return m_syntaxState; } + { return syntax_state_; } protected: @@ -50,14 +50,14 @@ private slots: void applyDisplayFilter(); private: - bool m_plain; - bool m_fieldNameOnly; - SyntaxState m_syntaxState; - QString m_emptyFilterMessage; - QString m_syntaxStyleSheet; - QToolButton *m_bookmarkButton; - QToolButton *m_clearButton; - QToolButton *m_applyButton; + bool plain_; + bool field_name_only_; + SyntaxState syntax_state_; + QString empty_filter_message_; + QString syntax_style_sheet_; + QToolButton *bookmark_button_; + QToolButton *clear_button_; + QToolButton *apply_button_; signals: void pushFilterSyntaxStatus(QString&); |