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
+40
-35
@@ -1,16 +1,15 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ExerciseManagement/exm_ftc.h>
|
||||
#include <ExerciseManagement/exm_dtc.h>
|
||||
#include <ExerciseManagement/exm_ftc.h>
|
||||
#include <ExerciseManagement/logger.h>
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <LtsUtils/LtsUtilsGui/LtsUtilsGuiDds/request_helper.h>
|
||||
#include <LtsSession/lts_session.h>
|
||||
#include <FileManagement/flm_dtc.h>
|
||||
#include <FileManagement/flm_ftc.h>
|
||||
#include <LtsSession/lts_session.h>
|
||||
#include <LtsUtils/LtsUtilsGui/LtsUtilsGuiDds/request_helper.h>
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
@@ -21,41 +20,47 @@ namespace ExerciseManagement
|
||||
{
|
||||
class ExerciseManagementDialogModel;
|
||||
|
||||
|
||||
|
||||
class ExerciseManagementDialog : public LtsWidgets::LtsDialog
|
||||
, protected ExerciseManagement::Interface::Ftc::ExerciseRemoveReplyHandler
|
||||
, protected FileManagement::Interface::Ftc::FolderRemoveReplyHandler
|
||||
class ExerciseManagementDialog : public LtsWidgets::LtsDialog,
|
||||
protected ExerciseManagement::Interface::Ftc::ExerciseRemoveReplyHandler,
|
||||
protected FileManagement::Interface::Ftc::FolderRemoveReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ExerciseManagementDialog(const QString &menuGroup, QWidget *parent = nullptr);
|
||||
~ExerciseManagementDialog();
|
||||
public:
|
||||
explicit ExerciseManagementDialog(const QString& menuGroup, QWidget* parent = nullptr);
|
||||
~ExerciseManagementDialog();
|
||||
|
||||
bool init(LtsSession::LtsSessionDataDds *session);
|
||||
bool init(LtsSession::LtsSessionDataDds* session);
|
||||
|
||||
private slots:
|
||||
void enaDisa();
|
||||
void onAddExercise();
|
||||
void onEditExercise();
|
||||
void onRemoveExercise();
|
||||
private slots:
|
||||
void enaDisa();
|
||||
void onAddExercise();
|
||||
void onEditExercise();
|
||||
void onRemoveExercise();
|
||||
|
||||
private:
|
||||
private:
|
||||
NGL::INGLLogger& m_logger;
|
||||
void retranslate() override;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
void retranslate() override;
|
||||
void onExerciseRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
void onFolderRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
void tableColumnOrganiserSetting() override;
|
||||
void onExerciseRemoveReply(const Core::FunctionReplyObject& replyObject) override final
|
||||
{
|
||||
m_requestHelper->requestReply(replyObject);
|
||||
}
|
||||
|
||||
ExerciseManagementDialogModel *m_model;
|
||||
Ui::ExerciseManagementDialog *m_ui;
|
||||
LtsSession::LtsSessionDataDds *m_session;
|
||||
std::shared_ptr<ExerciseManagement::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<FileManagement::Interface::Dtc> m_flmDtc;
|
||||
std::shared_ptr<FileManagement::Interface::Ftc> m_flmFtc;
|
||||
QString m_menuGroup;
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
void onFolderRemoveReply(const Core::FunctionReplyObject& replyObject) override final
|
||||
{
|
||||
m_requestHelper->requestReply(replyObject);
|
||||
}
|
||||
|
||||
void tableColumnOrganiserSetting() override;
|
||||
|
||||
ExerciseManagementDialogModel* m_model;
|
||||
Ui::ExerciseManagementDialog* m_ui;
|
||||
LtsSession::LtsSessionDataDds* m_session;
|
||||
std::shared_ptr<ExerciseManagement::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<FileManagement::Interface::Dtc> m_flmDtc;
|
||||
std::shared_ptr<FileManagement::Interface::Ftc> m_flmFtc;
|
||||
QString m_menuGroup;
|
||||
LtsUtils::RequestHelper* m_requestHelper;
|
||||
};
|
||||
}
|
||||
} // namespace ExerciseManagement
|
||||
Reference in new issue
Block a user