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

+28 -25
View File
@@ -4,26 +4,24 @@
#include <QString>
namespace LtsTimeline
{
struct LTSTIMELINE_EXPORT Tick
{
int pos{-1};
qint64 time{0};
QString label;
Tick() {}
explicit Tick(qint64 time) : time(time) {}
explicit Tick(int pos, qint64 time, const QString &label) : pos(pos), time(time), label(label) {}
int pos{-1};
qint64 time{0};
QString label;
Tick() {}
explicit Tick(qint64 time) : time(time) {}
explicit Tick(int pos, qint64 time, const QString& label) : pos(pos), time(time), label(label) {}
};
typedef QVector<Tick> Ticks;
namespace DateTime
{
@@ -33,24 +31,29 @@ extern int numberOfDateTimeFormats();
extern LTSTIMELINE_EXPORT QString toString(qint64 time, Format format);
}
} // namespace DateTime
typedef DateTime::Format DateTimeFormat;
namespace Zoom
{
enum Factor : int
{
FifteenSeconds = 15 * 1000, ThirtySeconds = 30 * 1000, SixtySeconds = 60 * 1000,
TwoMinutes = 2 * 60 * 1000, ThreeMinutes = 3 * 60 * 1000, FiveMinutes = 5 * 60 * 1000,
TenMinutes = 10 * 60 * 1000, FifteenMinutes = 15 * 60 * 1000, ThirtyMinutes = 30 * 60 * 1000, SixtyMinutes = 60 * 60 * 1000,
TwoHours = 2 * 60 * 60 * 1000, FourHours = 4 * 60 * 60 * 1000, EightHours = 8 * 60 * 60 * 1000, TwelveHours = 12 * 60 * 60 * 1000,
OneDay = 24 * 60 * 60 * 1000
enum Factor : int {
FifteenSeconds = 15 * 1000,
ThirtySeconds = 30 * 1000,
SixtySeconds = 60 * 1000,
TwoMinutes = 2 * 60 * 1000,
ThreeMinutes = 3 * 60 * 1000,
FiveMinutes = 5 * 60 * 1000,
TenMinutes = 10 * 60 * 1000,
FifteenMinutes = 15 * 60 * 1000,
ThirtyMinutes = 30 * 60 * 1000,
SixtyMinutes = 60 * 60 * 1000,
TwoHours = 2 * 60 * 60 * 1000,
FourHours = 4 * 60 * 60 * 1000,
EightHours = 8 * 60 * 60 * 1000,
TwelveHours = 12 * 60 * 60 * 1000,
OneDay = 24 * 60 * 60 * 1000
};
extern LTSTIMELINE_EXPORT int numberOfZoomFactors();
@@ -75,9 +78,9 @@ extern LTSTIMELINE_EXPORT int mediumInterval(Factor factor);
extern LTSTIMELINE_EXPORT int minorInterval(Factor factor);
}
} // namespace Zoom
typedef Zoom::Factor ZoomFactor;
typedef QVector<ZoomFactor> ZoomFactors;
}
} // namespace LtsTimeline