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

+24 -47
View File
@@ -1,71 +1,48 @@
#include <httq/Logger.h>
#include <QCoreApplication>
#include <QDebug>
#include <httq/Logger.h>
namespace httq
{
Logger *LoggerFactory::createLogger(QObject *parent)
Logger* LoggerFactory::createLogger(QObject* parent)
{
return new Logger(this, parent);
return new Logger(this, parent);
}
Logger::Logger(LoggerFactory *loggerFactory, QObject *parent)
: QObject(parent)
, mLoggerFactory(loggerFactory)
Logger::Logger(LoggerFactory* loggerFactory, QObject* parent) : QObject(parent), mLoggerFactory(loggerFactory)
{
if (parent == nullptr)
{
mPath = QStringLiteral("Global");
}
else
{
mPath = QString::fromUtf8(parent->metaObject()->className());
if (parent == nullptr)
{
}
mPath = QStringLiteral("Global");
}
else
{
mPath = QString::fromUtf8(parent->metaObject()->className());
}
}
void Logger::debug(const QString &message)
void Logger::debug(const QString& message)
{
qtLogger(QStringLiteral("DEBUG"), qWarning()) << message;
qtLogger(QStringLiteral("DEBUG"), qWarning()) << message;
}
void Logger::warning(const QString &message)
void Logger::warning(const QString& message)
{
qtLogger(QStringLiteral("WARNING"), qWarning()) << message;
qtLogger(QStringLiteral("WARNING"), qWarning()) << message;
}
void Logger::error(const QString &message)
void Logger::error(const QString& message)
{
qtLogger(QStringLiteral("ERROR"), qCritical()) << message;
qtLogger(QStringLiteral("ERROR"), qCritical()) << message;
}
QDebug Logger::qtLogger(const QString &type, QDebug logger)
QDebug Logger::qtLogger(const QString& type, QDebug logger)
{
QDebug d(logger.noquote());
d << type << mPath << ":";
return d;
}
QDebug d(logger.noquote());
d << type << mPath << ":";
return d;
}
} // namespace httq