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>
This commit is contained in:
1 parent
c143ff8a4f
commit
d5af8b9764
1244 files changed
+4266
-4633
No files matched your search
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include "handler_group.h"
|
||||
#include <utility>
|
||||
#include "object_group.h"
|
||||
#include "handler_operator.h"
|
||||
#include "opm_db.h"
|
||||
@@ -21,6 +20,7 @@ HandlerGroup::HandlerGroup(MainHandler *mainHandler)
|
||||
, Interface::Fts::GroupCreateRequestHandler(mainHandler->fts())
|
||||
, Interface::Fts::GroupRemoveRequestHandler(mainHandler->fts())
|
||||
, m_mainHandler(mainHandler)
|
||||
, m_logger(getLogger("HandlerGroup"))
|
||||
{}
|
||||
|
||||
HandlerGroup::~HandlerGroup()
|
||||
@@ -152,7 +152,7 @@ Core::FunctionReplyObject HandlerGroup::create(const GroupCreateRequest &request
|
||||
{
|
||||
Database::OpmGroup group;
|
||||
group.name = QString::fromStdString(request.name());
|
||||
for (const ObjectGroup *g : std::as_const(m_groupObjMap))
|
||||
for (const ObjectGroup *g : qAsConst(m_groupObjMap))
|
||||
{
|
||||
if (g->name().compare(group.name, Qt::CaseInsensitive) == 0)
|
||||
return Core::FunctionReplyObject(-1, tr_lts("dds", "Name '%1' already exists")).arg(group.name);
|
||||
@@ -193,7 +193,7 @@ Core::FunctionReplyObject HandlerGroup::changeName(const OperatorManagement::Gro
|
||||
group.name = QString::fromStdString(request.name());
|
||||
group.description = QString::fromStdString(request.description());
|
||||
|
||||
for (const ObjectGroup *g : std::as_const(m_groupObjMap))
|
||||
for (const ObjectGroup *g : qAsConst(m_groupObjMap))
|
||||
{
|
||||
if (g == ifs)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user