Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
|
||||
#include "cbi_quit.h"
|
||||
|
||||
CBI_Quit::CBI_Quit(unsigned short port)
|
||||
: CommandInterface(port, "QUIT")
|
||||
{}
|
||||
|
||||
void CBI_Quit::handleCommandInternal(const QVector<QByteArray> &)
|
||||
{
|
||||
writeOk(QLatin1String("Bye!"));
|
||||
closeConnection();
|
||||
}
|
||||
|
||||
QString CBI_Quit::help() const
|
||||
{
|
||||
return QLatin1String("QUIT - close the current connection");
|
||||
}
|
||||
Reference in new issue
Block a user