diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.cpp index adc86050..3f8ee556 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.cpp @@ -168,7 +168,7 @@ namespace Bloom::Widgets } ); - emit this->captureTaskCreated(captureTask); + emit this->insightWorkerTaskCreated(captureTask); InsightWorker::queueTask(captureTask); } diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.hpp index debacaee..5e1f8379 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/SnapshotManager/SnapshotManager.hpp @@ -16,7 +16,7 @@ #include "src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/FocusedMemoryRegion.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/ExcludedMemoryRegion.hpp" -#include "src/Insight/InsightWorker/Tasks/CaptureMemorySnapshot.hpp" +#include "src/Insight/InsightWorker/Tasks/InsightWorkerTask.hpp" #include "./CreateSnapshotWindow/CreateSnapshotWindow.hpp" #include "MemorySnapshotItem.hpp" @@ -42,7 +42,7 @@ namespace Bloom::Widgets ); signals: - void captureTaskCreated(const QSharedPointer& task); + void insightWorkerTaskCreated(const QSharedPointer& task); protected: void resizeEvent(QResizeEvent* event) override; diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp index 01ade6a2..11bf1ba8 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.cpp @@ -199,9 +199,10 @@ namespace Bloom::Widgets QObject::connect( this->snapshotManager, - &SnapshotManager::captureTaskCreated, + &SnapshotManager::insightWorkerTaskCreated, this, - &TargetMemoryInspectionPane::onCaptureMemoryTaskCreated + &TargetMemoryInspectionPane::onSubtaskCreated + ); ); QObject::connect( @@ -630,7 +631,7 @@ namespace Bloom::Widgets } } - void TargetMemoryInspectionPane::onCaptureMemoryTaskCreated(const QSharedPointer& task) { + void TargetMemoryInspectionPane::onSubtaskCreated(const QSharedPointer& task) { this->setTaskProgressIndicator(task); } diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.hpp index 47fdb70e..d9c3e56e 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/TargetMemoryInspectionPane.hpp @@ -19,7 +19,7 @@ #include "src/Insight/UserInterfaces/InsightWindow/Widgets/Label.hpp" #include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp" -#include "src/Insight/InsightWorker/Tasks/CaptureMemorySnapshot.hpp" +#include "src/Insight/InsightWorker/Tasks/InsightWorkerTask.hpp" #include "HexViewerWidget/HexViewerWidget.hpp" #include "MemoryRegionManager/MemoryRegionManagerWindow.hpp" @@ -105,7 +105,7 @@ namespace Bloom::Widgets Bloom::Targets::TargetMemoryType memoryType, Targets::TargetMemoryAddressRange addressRange ); - void onCaptureMemoryTaskCreated(const QSharedPointer& task); + void onSubtaskCreated(const QSharedPointer& task); void setTaskProgressIndicator(const QSharedPointer& task); void setStaleData(bool staleData); };