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,14 +7,13 @@
|
||||
*/
|
||||
|
||||
#include "handler_ied.h"
|
||||
#include <utility>
|
||||
#include "object_ied.h"
|
||||
#include "main_handler.h"
|
||||
#include "gim_db.h"
|
||||
|
||||
#include <Proxies/TrainingAreaBase/tab_dtc.h>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <NGLLogger/NGLLoggerBootstrap.h>
|
||||
#include <ngldb/dbtransaction.h>
|
||||
#include <ngldb/nsqlquery.h>
|
||||
@@ -35,6 +34,7 @@ HandlerIed::HandlerIed(MainHandler *mainHandler,
|
||||
, m_tabDtc(nullptr)
|
||||
, m_ppmDtc(nullptr)
|
||||
, m_db(db)
|
||||
, m_logger(getLogger("HandlerIed"))
|
||||
{}
|
||||
|
||||
HandlerIed::~HandlerIed()
|
||||
@@ -75,7 +75,7 @@ bool HandlerIed::init()
|
||||
}
|
||||
|
||||
// create Ied objects
|
||||
for (const Database::GimIed &data : std::as_const(dataVec))
|
||||
for (const Database::GimIed &data : qAsConst(dataVec))
|
||||
{
|
||||
ObjectIed *ifs(new ObjectIed(m_ddsHandler, m_db, m_ppmDtc, this));
|
||||
Core::FunctionReplyObject ret = ifs->createObject(data);
|
||||
|
||||
Reference in new issue
Block a user