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:
848 files changed
+89305
-100020
No files matched your search
Executable → Regular
+15
-19
@@ -2,32 +2,28 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
||||
namespace LtsScriptTimeline
|
||||
{
|
||||
|
||||
class Tools : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Tools(QObject *parent)
|
||||
: QObject(parent)
|
||||
, m_timelineLength(5 * 60)
|
||||
, m_zoomFactor(1)
|
||||
, m_scrollPos(0)
|
||||
, m_paintWidth(1)
|
||||
{}
|
||||
public:
|
||||
explicit Tools(QObject* parent)
|
||||
: QObject(parent), m_timelineLength(5 * 60), m_zoomFactor(1), m_scrollPos(0), m_paintWidth(1)
|
||||
{
|
||||
}
|
||||
|
||||
int m_timelineLength;
|
||||
float m_zoomFactor;
|
||||
int m_scrollPos;
|
||||
int m_paintWidth;
|
||||
int m_timelineLength;
|
||||
float m_zoomFactor;
|
||||
int m_scrollPos;
|
||||
int m_paintWidth;
|
||||
|
||||
int getDuration(int duration);
|
||||
int getTime(int pos, bool neutral = false);
|
||||
int getPos(int time, bool neutral = false);
|
||||
int getLength(int startTime, int duration);
|
||||
int getDuration(int duration);
|
||||
int getTime(int pos, bool neutral = false);
|
||||
int getPos(int time, bool neutral = false);
|
||||
int getLength(int startTime, int duration);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsScriptTimeline
|
||||
Reference in new issue
Block a user