Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowClient/object_order.h
T
torstenandCopilot 4c9861a469 BUILD_RTI conditional fixes and Qt6 API updates
- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found
- cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed
- Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI
- Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI
- Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals
- cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return())
- Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc.
- BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-19 09:24:50 +02:00

57 lines
1.4 KiB
C++
Executable File

/**
* Exercise object
* $Id$
* $HeadURL$
* $Author$
*/
#pragma once
#include "dds_handler.h"
#include "logger.h"
#include <QObject>
#include <NotificationManagement/nom_ftc.h>
#include <Core/core_types.h>
// Generated
#include <EffectShowClient/esc_db.h>
namespace EffectShowClient
{
class MainHandler;
class ObjectOrder
: public QObject
, protected NotificationManagement::Interface::Ftc::CreateNotificationReplyHandler
{
Q_OBJECT
public:
explicit ObjectOrder(MainHandler *mainHandler, QObject *parent = nullptr);
~ObjectOrder();
Core::FunctionReplyObject createObject(const Database::EscOrder &data);
Core::FunctionReplyObject updateObject(const Database::EscOrder &data);
Core::FunctionReplyObject removeObject();
int getId() const { return m_data.id; }
const Database::EscOrder &getData() const { return m_data; }
void setOrderConfirmation(int orderConfirmation) { m_data.orderConfirmation = orderConfirmation; }
Core::FunctionReplyObject updateObject() { return updateObject(m_data); }
protected:
// Callbackfunctions for FTC
void onCreateNotificationReply(const Core::FunctionReplyObject &replyObject) override final;
protected Q_SLOTS:
void onPublishData();
private:
void createNotificationRequest();
void getCreateNotificationRequestData(NotificationManagement::CreateNotification &data);
MainHandler *m_mainHandler;
Database::EscOrder m_data;
};
} // namespace EffectShowClient