diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-07-09 10:50:51 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-07-11 20:52:10 +0000 |
commit | d1d88f575d58bad338e5760eac62c981cf4753a3 (patch) | |
tree | eef0e833a31bcbbebf6bc3541af392489f578ac4 /ui/qt/wireshark_application.h | |
parent | 14f943403aa57e2bfaa77df28a4ac23670e474b3 (diff) | |
download | wireshark-d1d88f575d58bad338e5760eac62c981cf4753a3.tar.gz |
Add plumbing for stat commands ("-z ...").
Trigger dialog creation by passing a method name to
QMetaObject::invokeMethod. I'm not entirely sure this is sane but it
seems to work OK. Move getopt processing further down in the main initialization sequence
to more closely match GTK+ and allow for stat command registration.
Change-Id: I5cd5375fa71dbadac69d528b2ba3bb13598dc3f6
Reviewed-on: https://code.wireshark.org/review/2964
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r-- | ui/qt/wireshark_application.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h index 120d552bce..6ac8359e60 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -71,6 +71,7 @@ public: void registerUpdate(register_action_e action, const char *message); void emitAppSignal(AppSignal signal); + void emitStatCommandSignal(const QString &menu_path, const char *arg, void *userdata); void allSystemsGo(); e_prefs * readConfigurationFiles(char **gdp_path, char **dp_path); QList<recent_item_status *> recentItems() const; @@ -127,6 +128,8 @@ signals: void captureFileClosing(const capture_file *cf); void captureFileClosed(const capture_file *cf); + void openStatCommandDialog(const QString &menu_path, const char *arg, void *userdata); + public slots: void clearRecentItems(); |