Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 12 lines (9 sloc) 0.33 kb
1 2 3 4 5 6 7 8 9 10 11
#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));
}
Something went wrong with that request. Please try again.