Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,25 @@
#include "cbi_shutdown.h"
#include "tcpserver.h"
CBI_Shutdown::CBI_Shutdown(unsigned short port)
: CommandInterface(port, "SHUTDOWN")
{
connect(this, &CBI_Shutdown::shutdownRequest,
TcpServer::instance(port), &TcpServer::shutdownRequest);
}
void CBI_Shutdown::handleCommandInternal(const QVector<QByteArray> &)
{
writeOk(QLatin1String("Shutting down server - bye!"));
closeConnection();
emit shutdownRequest();
}
QString CBI_Shutdown::help() const
{
return QLatin1String("SHUTDOWN - shut down the server");
}