Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/AvsCommands/set_rt_profile.cpp
T
torstenandCopilot d5af8b9764 Session 026: Lts/Services Qt5:: to Qt6:: migration
- Migrated all 104 CMakeLists.txt files in Lts/Services
- Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg,
  Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test,
  Qt5::SerialPort with Qt6:: equivalents
- 1244 files modified (CMakeLists.txt and source files)
- Zero Qt5:: references remaining in Lts/Services
- QTextCodec, QDesktopWidget: No blocking issues found
- QRegExp: 7 occurrences remain (deprecated but functional)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-25 19:23:30 +02:00

45 lines
917 B
C++
Executable File

/**
* @RDE_HEADER@
* SetRtProfile
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Fröbel, NLE, 2018-12-17
*/
#include "set_rt_profile.h"
#include <AudioVideoManagement/iava_command_done_observer.h>
#include <QString>
#include <QtGlobal>
namespace AudioVideoManagement
{
namespace AvaCommands
{
SetRtProfile::SetRtProfile(IAvaComm *comm, IAvaCommandDoneObserver *observer, RtState *rtState, const QVector<RtState::RadioCircuit> &radioCircuits)
: SetRtProfileBase(comm)
, m_radioCircuits(radioCircuits)
, m_rtState(rtState)
, m_observer(observer)
{
Q_ASSERT(observer);
Q_ASSERT(rtState);
}
void SetRtProfile::send()
{
connectToComm();
m_rtState->setRadioCircuits(m_radioCircuits);
sendCommand(QString::fromStdString(m_rtState->toCommand()));
}
void SetRtProfile::done()
{
disconnectFromComm();
m_observer->done(this);
}
}} // namespace AudioVideoManagement::AvaCommands