summaryrefslogtreecommitdiff
path: root/ui/qt/wireshark_application.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-21 01:28:17 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-21 01:28:17 +0000
commitea28298e961bca09a4294a4130463ea54123fa14 (patch)
tree2a049a21dfac639bb965dbeaa0f4dc5ff2f61f5e /ui/qt/wireshark_application.h
parent3111b6c88968bec609dfc04912f6cfaf65a6927a (diff)
downloadwireshark-ea28298e961bca09a4294a4130463ea54123fa14.tar.gz
Add a statistics tree dialog.
Add menu items for each corresponding item in gtk/main_menubar.c that calls gtk_stats_tree_cb(). Hopefully that's everything. Note that we use quite a bit less code than the GTK+ flavor and why we might not want to do that. Change a few things in ui/qt/CMakeLists.txt to more closely match the GTK+ version. Add plumbing for tap registrations in CMakeLists.txt and Makefile.am. Add the ability to copy text as CSV or YAML. svn path=/trunk/; revision=53464
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r--ui/qt/wireshark_application.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h
index edd219f7ad..067b7c66b5 100644
--- a/ui/qt/wireshark_application.h
+++ b/ui/qt/wireshark_application.h
@@ -42,6 +42,7 @@
#include <QFont>
#include <QList>
#include <QThread>
+#include <QTimer>
// Recent items:
// - Read from prefs
@@ -94,7 +95,8 @@ private:
bool initialized_;
QFont mono_regular_font_;
QFont mono_bold_font_;
- QTimer *recent_timer_;
+ QTimer recent_timer_;
+ QTimer tap_update_timer_;
QList<QString> pending_open_files_;
protected:
@@ -136,6 +138,7 @@ private slots:
void cleanup();
void itemStatusFinished(const QString &filename = "", qint64 size = 0, bool accessible = false);
void refreshRecentFiles(void);
+ void updateTaps();
};
extern WiresharkApplication *wsApp;