diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-03 19:58:55 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-03 19:58:55 +0000 |
commit | 9e67335ea81f5ef4ab011259e0fdb07a1135f831 (patch) | |
tree | 1eaa80dfa1c080d299167feb4b3cfe23e7002db9 /ui/qt/main_status_bar.h | |
parent | cef4af718cc42c7054b8ab82cb005f00d93f8b92 (diff) | |
download | wireshark-9e67335ea81f5ef4ab011259e0fdb07a1135f831.tar.gz |
Update the interface list to reflect the recent interface name changes.
Allow multiple interface selections. Make sure we update the packet list
properly in a couple of places.
Use the right callback+signal to update capture statistics in the status
bar. Remove the global cfile from the main_statusbar.cpp
Add the version to the main window.
svn path=/trunk/; revision=46350
Diffstat (limited to 'ui/qt/main_status_bar.h')
-rw-r--r-- | ui/qt/main_status_bar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/main_status_bar.h b/ui/qt/main_status_bar.h index 164d89b430..06c75cd1ea 100644 --- a/ui/qt/main_status_bar.h +++ b/ui/qt/main_status_bar.h @@ -24,12 +24,15 @@ #ifndef MAIN_STATUS_BAR_H #define MAIN_STATUS_BAR_H +#include "wireshark_application.h" #include "label_stack.h" #include "progress_bar.h" #include <QStatusBar> #include <QLabel> +#include "cfile.h" + class MainStatusBar : public QStatusBar { Q_OBJECT @@ -44,12 +47,14 @@ private: ProgressBar progress_bar_; LabelStack packet_status_; LabelStack profile_status_; + capture_file *cap_file_; void expertUpdate(); signals: public slots: + void setCaptureFile(capture_file *cf); void pushTemporaryStatus(QString &message); void popTemporaryStatus(); void pushFileStatus(QString &message); @@ -65,6 +70,7 @@ public slots: private slots: void toggleBackground(bool enabled); + void updateCaptureStatistics(capture_options * capture_opts); }; #endif // MAIN_STATUS_BAR_H |