summaryrefslogtreecommitdiff
path: root/ui/qt/wireshark_application.h
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2017-01-26 09:25:25 +0100
committerRoland Knall <rknall@gmail.com>2017-01-26 08:28:29 +0000
commitd66ee141af70df7809ef9f48d19f75469f64a0b4 (patch)
treefd3afe728c8613b0af6452ec95858700cde468d0 /ui/qt/wireshark_application.h
parent795b5d44e5a091b9f87d7ea8aac4701077807bc3 (diff)
downloadwireshark-d66ee141af70df7809ef9f48d19f75469f64a0b4.tar.gz
Qt: Signal number of active captures
Adds a signal, which emits the number of active captures Change-Id: I637106294e331e7fc7607f6fd7704492e22fa7ac Reviewed-on: https://code.wireshark.org/review/19799 Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r--ui/qt/wireshark_application.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h
index 6f26a90f99..9decb77f28 100644
--- a/ui/qt/wireshark_application.h
+++ b/ui/qt/wireshark_application.h
@@ -190,11 +190,14 @@ signals:
void openStatCommandDialog(const QString &menu_path, const char *arg, void *userdata);
void openTapParameterDialog(const QString cfg_str, const QString arg, void *userdata);
+ /* Signals activation and stop of a capture. The value provides the number of active captures */
+ void captureActive(int);
+
public slots:
void clearRecentCaptures();
void captureFileReadStarted();
- void captureStarted() { active_captures_++; }
- void captureFinished() { active_captures_--; }
+ void captureStarted();
+ void captureFinished();
void updateTaps();
private slots: