#include "prompt.h" void Prompt::confirmationPerformed() { QString str = text(); clear(); emit sendMsg(str.append("\r\n")); }