12 lines
333 B
C++
12 lines
333 B
C++
|
#include "ClearPromptText.h"
|
||
|
#include "WebPage.h"
|
||
|
#include "WebPageManager.h"
|
||
|
|
||
|
ClearPromptText::ClearPromptText(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
|
||
|
|
||
|
void ClearPromptText::start()
|
||
|
{
|
||
|
page()->setPromptText(QString());
|
||
|
emit finished(new Response(true));
|
||
|
}
|