- 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>
44 lines
754 B
C++
Executable File
44 lines
754 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* The MessageHandler class processes messages from the client an creates appropriate replys
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hannes Fritsche, SLSE, 2017-09-07
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QtCore/QObject>
|
|
|
|
#include "logger.h"
|
|
|
|
namespace WarehouseGuez
|
|
{
|
|
|
|
namespace WsBiteInterface
|
|
{
|
|
class DataManager;
|
|
|
|
namespace Messages
|
|
{
|
|
class MessageTransmitter;
|
|
|
|
class MessageHandler
|
|
: public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MessageHandler(DataManager *dataManager);
|
|
|
|
public Q_SLOTS:
|
|
void onNewTextMessage(MessageTransmitter *transmitter, const QString &message);
|
|
|
|
private:
|
|
DataManager *m_dataManager;
|
|
|
|
LOGGER_T m_logger;
|
|
};
|
|
} // namespace Messages
|
|
} // namespace WsBiteInterface
|
|
} // namespace WarehouseGuez
|