diff options
Diffstat (limited to 'ui/qt/tap_parameter_dialog.h')
-rw-r--r-- | ui/qt/tap_parameter_dialog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt/tap_parameter_dialog.h b/ui/qt/tap_parameter_dialog.h index f9af3391bd..51613db31a 100644 --- a/ui/qt/tap_parameter_dialog.h +++ b/ui/qt/tap_parameter_dialog.h @@ -34,6 +34,7 @@ #include "filter_action.h" #include "wireshark_dialog.h" +class QHBoxLayout; class QTreeWidget; class QTreeWidgetItem; @@ -59,6 +60,8 @@ public: // Needed by static member functions in subclasses. Should we just make // "ui" available instead? QTreeWidget *statsTreeWidget(); + QHBoxLayout *filterLayout(); + void drawTreeItems(); signals: @@ -75,6 +78,9 @@ protected: void contextMenuEvent(QContextMenuEvent *event); const char *displayFilter(); void setDisplayFilter(const QString &filter); + void setHint(const QString &hint); + // Retap packets on showEvent. RPC stats need to disable this. + void setRetapOnShow(bool retap = false) { retap_on_show_ = retap; } protected slots: void filterActionTriggered(); @@ -83,6 +89,7 @@ private: Ui::TapParameterDialog *ui; int help_topic_; static const QString action_name_; + bool retap_on_show_; // Called by the constructor. The subclass should tap packets here. virtual void fillTree() = 0; |