diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-01-14 00:16:16 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-01-14 00:16:16 +0000 |
commit | bc957229f87bff3567fafbe2718c1e138905ce9a (patch) | |
tree | b36ab499e746917f11c07e799ad306b88ab82b9e /ui/qt/wireshark_application.h | |
parent | c7857a522bc45bd2858211eaec8e7881d71c8169 (diff) | |
download | wireshark-bc957229f87bff3567fafbe2718c1e138905ce9a.tar.gz |
Initial status bar functionality. Promote the main window's status bar
to a MainStatusBar. Add a "LabelStack" widget, which MainStatusBar uses
to duplicate features in GtkStatusbar. Make the protocol tree a
full-blown ProtoTree widget. Move main_cf_callback from main to
WiresharkApplication. Duplicate a lot of the cf callbacks as signals and
slots. Use Q_UNUSED in a few places.
svn path=/trunk/; revision=40488
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r-- | ui/qt/wireshark_application.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h index f4601076c9..25cf33ea54 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -24,6 +24,12 @@ #ifndef WIRESHARK_APPLICATION_H #define WIRESHARK_APPLICATION_H +#include "config.h" + +#include <glib.h> + +#include "file.h" + #include <QApplication> #include <QList> #include <QFileInfo> @@ -49,6 +55,7 @@ public: explicit WiresharkApplication(int &argc, char **argv); QList<recent_item_status *> recent_item_list() const; void addRecentItem(const QString &filename, qint64 size, bool accessible); + void captureFileCallback(int event, void * data); private: QTimer *recentTimer; @@ -56,6 +63,11 @@ private: signals: void updateRecentItemStatus(const QString &filename, qint64 size, bool accessible); + void captureFileReadStarted(const capture_file *cf); + void captureFileReadFinished(const capture_file *cf); + void captureFileClosing(const capture_file *cf); + void captureFileClosed(const capture_file *cf); + public slots: void clearRecentItems(); |