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
+17
-29
@@ -6,52 +6,40 @@
|
||||
|
||||
#include <QList>
|
||||
#include <QObject>
|
||||
#include <memory>
|
||||
#include <functional>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace LtsSession
|
||||
{
|
||||
class LtsSession;
|
||||
}
|
||||
|
||||
|
||||
namespace LtsNotification
|
||||
{
|
||||
class LtsNotificationController;
|
||||
|
||||
|
||||
|
||||
class LTSNOTIFICATION_EXPORT LtsNotification : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit LtsNotification(LtsNotificationController *ctl);
|
||||
~LtsNotification();
|
||||
public:
|
||||
explicit LtsNotification(LtsNotificationController* ctl);
|
||||
~LtsNotification();
|
||||
|
||||
void setIcon(const QIcon &icon);
|
||||
void setAction(const std::function<void(void)> &action);
|
||||
void setToolTip(const QString &toolTip);
|
||||
void setCount(const int count);
|
||||
void setEnabled(bool enable);
|
||||
void setBackground(const int r, const int g, const int b);
|
||||
void setIcon(const QIcon& icon);
|
||||
void setAction(const std::function<void(void)>& action);
|
||||
void setToolTip(const QString& toolTip);
|
||||
void setCount(const int count);
|
||||
void setEnabled(bool enable);
|
||||
void setBackground(const int r, const int g, const int b);
|
||||
|
||||
const QString &tooltip() const;
|
||||
const QString& tooltip() const;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
LtsNotificationController *m_controller;
|
||||
|
||||
|
||||
|
||||
private slots:
|
||||
void slotCtlDestroyed(QObject *obj);
|
||||
private:
|
||||
LtsNotificationController* m_controller;
|
||||
|
||||
private slots:
|
||||
void slotCtlDestroyed(QObject* obj);
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace LtsNotification
|
||||
Reference in new issue
Block a user