- Migrated all 104 CMakeLists.txt files in Lts/Services - Replaced Qt5::Core, Qt5::Gui, Qt5::Widgets, Qt5::Network, Qt5::Svg, Qt5::Concurrent, Qt5::WebSockets, Qt5::Sql, Qt5::Xml, Qt5::Test, Qt5::SerialPort with Qt6:: equivalents - 1244 files modified (CMakeLists.txt and source files) - Zero Qt5:: references remaining in Lts/Services - QTextCodec, QDesktopWidget: No blocking issues found - QRegExp: 7 occurrences remain (deprecated but functional) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
41 lines
939 B
C++
Executable File
41 lines
939 B
C++
Executable File
/**
|
|
* Handler for all Language HMI objects
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hanna E. Rathje, SLSE, 2015-09-03
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QMap>
|
|
|
|
#include <TrainingAreaBase/tab_dtc.h>
|
|
|
|
#include "aes_db.h"
|
|
#include "handler_base.h"
|
|
#include "object_dus_single_mine.h"
|
|
|
|
namespace AreaEffectSimulation
|
|
{
|
|
|
|
class HandlerDusSingleMine final : public HandlerBaseTmpl<ObjectDusSingleMine>
|
|
{
|
|
public:
|
|
explicit HandlerDusSingleMine(MainHandler *mainHandler);
|
|
~HandlerDusSingleMine() = default;
|
|
|
|
bool init();
|
|
|
|
int totalAreas() const override;
|
|
int totalAreasCentral() const override;
|
|
|
|
private slots:
|
|
void onDusSingleMineState(const TrainingAreaBase::DusSingleMineState &data, DataModification modType);
|
|
void onMineTriggered(const TrainingAreaBase::MineTriggered &data, DataModification modType);
|
|
private:
|
|
std::shared_ptr<TrainingAreaBase::Interface::Dtc> m_tabDtc;
|
|
|
|
QHash<int, int> m_activeMineIdToAesItemId;
|
|
};
|
|
}
|