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
+19
-17
@@ -1,36 +1,38 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ltsutilsguistylemanager_export.h"
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
||||
class QPluginLoader;
|
||||
|
||||
|
||||
namespace LtsUtils
|
||||
{
|
||||
class LTSUTILSGUISTYLEMANAGER_EXPORT StyleManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
using QObject::QObject;
|
||||
~StyleManager() = default;
|
||||
public:
|
||||
static StyleManager *getInstance();
|
||||
Q_OBJECT
|
||||
using QObject::QObject;
|
||||
~StyleManager() = default;
|
||||
|
||||
bool loadStyle(const QString &stylePluginName, bool highDpi = false);
|
||||
const QString ¤tStyleName() const { return m_stylePluginName; }
|
||||
public:
|
||||
static StyleManager* getInstance();
|
||||
|
||||
private:
|
||||
friend struct StyleManagerHandler;
|
||||
bool loadStyle(const QString& stylePluginName, bool highDpi = false);
|
||||
|
||||
QPluginLoader *m_currentStylePluginLoader = nullptr;
|
||||
QString m_stylePluginName;
|
||||
const QString& currentStyleName() const
|
||||
{
|
||||
return m_stylePluginName;
|
||||
}
|
||||
|
||||
signals:
|
||||
void signalStyleChanged(const QString &stylePluginName);
|
||||
private:
|
||||
friend struct StyleManagerHandler;
|
||||
|
||||
QPluginLoader* m_currentStylePluginLoader = nullptr;
|
||||
QString m_stylePluginName;
|
||||
|
||||
signals:
|
||||
void signalStyleChanged(const QString& stylePluginName);
|
||||
};
|
||||
}
|
||||
} // namespace LtsUtils
|
||||
Reference in new issue
Block a user