refactor!!!: migrate from shared pointers

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-07 19:16:54 +05:00
parent c64d871a28
commit 549405ab2f
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
199 changed files with 742 additions and 709 deletions

View file

@ -3,10 +3,10 @@
#include <QProcess>
BaseProfiler::BaseProfiler(SettingsObjectPtr settings, InstancePtr instance, QObject* parent) : BaseExternalTool(settings, instance, parent)
BaseProfiler::BaseProfiler(SettingsObject* settings, BaseInstance* instance, QObject* parent) : BaseExternalTool(settings, instance, parent)
{}
void BaseProfiler::beginProfiling(shared_qobject_ptr<LaunchTask> process)
void BaseProfiler::beginProfiling(LaunchTask* process)
{
beginProfilingImpl(process);
}
@ -27,7 +27,7 @@ void BaseProfiler::abortProfilingImpl()
emit abortLaunch(tr("Profiler aborted"));
}
BaseProfiler* BaseProfilerFactory::createProfiler(InstancePtr instance, QObject* parent)
BaseProfiler* BaseProfilerFactory::createProfiler(BaseInstance* instance, QObject* parent)
{
return qobject_cast<BaseProfiler*>(createTool(instance, parent));
}