Lts/Services: finalize Qt6/C++17 migration cleanup
Remove deprecated Qt5 patterns remaining in Services: - Replace remaining SIGNAL/SLOT string syntax with function pointer syntax (NmeaManagement/socket_handler.cpp, AudioVideoManagement/ModuleTests/mvs_tests.cpp) - Remove Qt::UniqueConnection (deprecated in Qt6, default behavior) from 19 files across AES, CES plugins, and cross-services (47 occurrences) - Remove umbrella #include <QtCore> from fire_automaton.h and aes_test_fire_automaton.h (specific includes suffice) 25 files changed, 74 insertions(+), 81 deletions(-)
This commit is contained in:
1 parent
29002f2a48
commit
5485a90385
25 files changed
+74
-81
No files matched your search
+4
-4
@@ -125,7 +125,7 @@ bool ShootbackController::initDds(std::shared_ptr<HandlerShootbackArea> handlerA
|
||||
|
||||
// ShootbackArea
|
||||
connect(m_handlerShootbackArea.get(), &HandlerShootbackArea::objectChanged,
|
||||
this, &ShootbackController::onShootbackAreaChanged1, Qt::UniqueConnection);
|
||||
this, &ShootbackController::onShootbackAreaChanged1);
|
||||
|
||||
m_handlerShootbackArea->objectShootbackAreas([this](const TargetManagement::ObjectShootbackArea & data)
|
||||
{
|
||||
@@ -134,17 +134,17 @@ bool ShootbackController::initDds(std::shared_ptr<HandlerShootbackArea> handlerA
|
||||
|
||||
// ShootbackTarget
|
||||
connect(m_handlerShootbackTarget.get(), &HandlerShootbackTarget::objectChanged,
|
||||
this, &ShootbackController::onShootbackTargetChanged, Qt::UniqueConnection);
|
||||
this, &ShootbackController::onShootbackTargetChanged);
|
||||
|
||||
// TargetAreaAssignment
|
||||
connect(m_handlerTargetAreaAssignment.get(), &HandlerTargetAreaAssignment::objectChanged,
|
||||
this, &ShootbackController::onTargetAreaAssignmentChanged, Qt::UniqueConnection);
|
||||
this, &ShootbackController::onTargetAreaAssignmentChanged);
|
||||
|
||||
// finally:
|
||||
|
||||
// PPM:
|
||||
connect(m_mainHandler->dds()->dtcPpm().get(), &ParticipantManagement::Interface::Dtc::participantPositionChanged,
|
||||
this, &ShootbackController::onParticipantPositionChanged, Qt::UniqueConnection);
|
||||
this, &ShootbackController::onParticipantPositionChanged);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user