#include "cbi_quit.h" CBI_Quit::CBI_Quit(unsigned short port) : CommandInterface(port, "QUIT") {} void CBI_Quit::handleCommandInternal(const QVector &) { writeOk(QLatin1String("Bye!")); closeConnection(); } QString CBI_Quit::help() const { return QLatin1String("QUIT - close the current connection"); }