aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/stats_tree_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/stats_tree_dialog.h')
-rw-r--r--ui/qt/stats_tree_dialog.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/ui/qt/stats_tree_dialog.h b/ui/qt/stats_tree_dialog.h
index 8e040338b9..59cf812a15 100644
--- a/ui/qt/stats_tree_dialog.h
+++ b/ui/qt/stats_tree_dialog.h
@@ -22,24 +22,19 @@
#ifndef STATS_TREE_DIALOG_H
#define STATS_TREE_DIALOG_H
+#include "tap_parameter_dialog.h"
+
#include <config.h>
#include <glib.h>
#include "epan/stats_tree_priv.h"
-#include "wireshark_dialog.h"
-
-namespace Ui {
-class StatsTreeDialog;
-class StatsTreeWidgetItem;
-}
-
struct _tree_cfg_pres {
class StatsTreeDialog* st_dlg;
};
-class StatsTreeDialog : public WiresharkDialog
+class StatsTreeDialog : public TapParameterDialog
{
Q_OBJECT
@@ -48,24 +43,15 @@ public:
~StatsTreeDialog();
static void setupNode(stat_node* node);
-public slots:
-
private:
- Ui::StatsTreeDialog *ui;
-
struct _tree_cfg_pres cfg_pr_;
stats_tree *st_;
stats_tree_cfg *st_cfg_;
- void fillTree();
+ virtual void fillTree();
static void resetTap(void *st_ptr);
static void drawTreeItems(void *st_ptr);
-
-private slots:
- void updateWidgets();
- void on_applyFilterButton_clicked();
- void on_actionCopyToClipboard_triggered();
- void on_actionSaveAs_triggered();
+ virtual QByteArray getTreeAsString(st_format_type format);
};
#endif // STATS_TREE_DIALOG_H