aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_file.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-05-15 13:36:04 -0700
committerGerald Combs <gerald@wireshark.org>2015-05-15 21:48:03 +0000
commita04a894731e6a1bd728484367c597f0bbd437514 (patch)
treece860c2ce9c33114ad5298f3371aa4287c1bdfdd /ui/qt/capture_file.h
parenta1eb0aaeb3f8f5448fcd2678a1fc707fc15a1ca6 (diff)
Qt: Stop tapping when the I/O Graph dialog closes.
Add a setCaptureStopFlag function to ProgressBar. Add a stopTapping function and setCaptureStopFlag signal to CaptureFile. Use the new plubming to stop tapping when the IO Graph dialog closes. Bug: 10116 Change-Id: Ic46814eed18933f511d9d1ff37e2e7918741f353 Reviewed-on: https://code.wireshark.org/review/8480 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/capture_file.h')
-rw-r--r--ui/qt/capture_file.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt/capture_file.h b/ui/qt/capture_file.h
index 0bf87b5bb0..ea38d102c3 100644
--- a/ui/qt/capture_file.h
+++ b/ui/qt/capture_file.h
@@ -65,6 +65,11 @@ public:
*/
void retapPackets();
+ /** Cancel any tapping that might be in progress.
+ */
+ void stopTapping();
+
+
// XXX This shouldn't be needed.
static capture_file *globalCapFile();
@@ -87,6 +92,8 @@ signals:
void captureCaptureStopping(capture_session *cap_session);
void captureCaptureFailed(capture_session *cap_session);
+ void setCaptureStopFlag(bool);
+
public slots:
private: