Apply clang-format to Lts/Common and DTC/enum headers

- Formatted all CodeGen module files (9 files)
- Formatted LtsAppDescriptor module files
- Formatted LtsAppManager/AppChooser files
- Applied clang-format to all DTC and enum headers across modules
- Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/)

Cosmetic changes only, no functional modifications.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-08-19 14:46:29 +02:00
1 parent 1881d68aef
commit d6b6ffce7c
848 files changed
+89305 -100020

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -1,20 +1,15 @@
#pragma once
#include <PluginInterfaces/gui_plugin_interface.h>
#include <AdvancedSymbology/asb_symbol_proxy_gui_plugin_interface.h>
#include <Plugins/FileManagement/flm_data_plugin_interface.h>
#include <Plugins/OperatorManagement/opm_data_plugin_interface.h>
#include <FileManagement/flm.hpp>
#include <LtsUtilsCore/data_modification_enum.h>
#include <PluginInterfaces/gui_plugin_interface.h>
#include <Plugins/FileManagement/flm_data_plugin_interface.h>
#include <Plugins/OperatorManagement/opm_data_plugin_interface.h>
#include <memory>
namespace LtsUtils
{
class RequestHelper;
@@ -23,75 +18,53 @@ class RequestHelper;
namespace AdvancedSymbology
{
class FlmSubscriber final
: public QObject
, public ForeignGuiFlmSymbolsProxyInterface
, public FileManagement::Interface::Ftc::GetFileContentDataReplyHandler
class FlmSubscriber final : public QObject,
public ForeignGuiFlmSymbolsProxyInterface,
public FileManagement::Interface::Ftc::GetFileContentDataReplyHandler
{
Q_OBJECT
public:
explicit FlmSubscriber(const std::shared_ptr<FileManagement::Interface::Dtc> &flmDtc,
const std::shared_ptr<FileManagement::Interface::Ftc> &flmFtc,
const std::shared_ptr<OperatorManagement::Interface::Dtc> &opmDtc);
~FlmSubscriber();
Q_OBJECT
public:
explicit FlmSubscriber(const std::shared_ptr<FileManagement::Interface::Dtc>& flmDtc,
const std::shared_ptr<FileManagement::Interface::Ftc>& flmFtc,
const std::shared_ptr<OperatorManagement::Interface::Dtc>& opmDtc);
~FlmSubscriber();
bool createFlmSymbolProxy(int type_placeholder) override;
bool connectFlmSymbolProxy(int type_placeholder, SymbologyType symbologyType) override;
bool createFlmSymbolProxy(int type_placeholder) override;
bool connectFlmSymbolProxy(int type_placeholder, SymbologyType symbologyType) override;
private:
NGL::INGLLogger& m_logger;
bool setEtsSymbolToDict(SymbolDictionary& dict, qint32 fileContentId, const QString& name, const QImage& image,
const QColor& colorToBeReplaced, const QStringList& usrTags);
private:
bool setXmlSymbolToDict(SymbolDictionary& dict, qint32 fileContentId, const QString& operatorName,
qint64 lastModified, const QString& name, const QString& xmlContent,
const QStringList& usrTags);
NGL::INGLLogger &m_logger;
bool setEtsSymbolToDict(SymbolDictionary &dict,
qint32 fileContentId,
const QString &name,
const QImage &image,
const QColor &colorToBeReplaced,
const QStringList &usrTags);
protected slots:
void onFileContentChanged(const FileManagement::FileContent& data, DataModification modType);
void updateFileContentMap(const FileManagement::FileContent& data);
bool setXmlSymbolToDict(SymbolDictionary &dict,
qint32 fileContentId,
const QString &operatorName,
qint64 lastModified,
const QString &name,
const QString &xmlContent,
const QStringList &usrTags);
void onLocalSymbolProxyEtsSymbolAdded(qint32 fileContentId, const QString& name, const QImage& image,
const QColor& colorToBeReplaced, const QStringList& usrTags);
void onLocalSymbolProxyEtsSymbolRemoved(qint32 fileContentId, const QString& name);
protected slots:
void onFileContentChanged(const FileManagement::FileContent &data, DataModification modType);
void updateFileContentMap(const FileManagement::FileContent &data);
void onLocalSymbolProxyXmlSymbolAdded(qint32 fileContentId, const QString& operatorName, qint64 lastModified,
const QString& name, const QString& xmlContent, const QStringList& usrTags);
void onLocalSymbolProxyXmlSymbolRemoved(qint32 fileContentId);
void onLocalSymbolProxyEtsSymbolAdded(qint32 fileContentId,
const QString &name,
const QImage &image,
const QColor &colorToBeReplaced,
const QStringList &usrTags);
void onLocalSymbolProxyEtsSymbolRemoved(qint32 fileContentId, const QString &name);
protected:
void onGetFileContentDataReply(const FileManagement::GetFileContentDataReply& reply) override;
void onLocalSymbolProxyXmlSymbolAdded(qint32 fileContentId,
const QString &operatorName,
qint64 lastModified,
const QString &name,
const QString &xmlContent,
const QStringList &usrTags);
void onLocalSymbolProxyXmlSymbolRemoved(qint32 fileContentId);
bool svgToImage(const QByteArray& svgByteArray, QImage& imageOut);
protected:
QString operatorName(int operatorId);
void onGetFileContentDataReply(const FileManagement::GetFileContentDataReply &reply) override;
void checkForReFetching();
bool svgToImage(const QByteArray &svgByteArray, QImage &imageOut);
QString operatorName(int operatorId);
void checkForReFetching();
private:
struct Private;
Private *d = nullptr;
private:
struct Private;
Private* d = nullptr;
};
}
} // namespace AdvancedSymbology