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