Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (9 sloc) 0.33 kb
e677cb9 @danivovich Control JavaScript confirmation dialogs from Ruby
danivovich authored
1 #include "SetPromptText.h"
2 #include "WebPage.h"
3 #include "WebPageManager.h"
4
5 SetPromptText::SetPromptText(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
6
7 void SetPromptText::start()
8 {
9 page()->setPromptText(arguments()[0]);
10 emit finished(new Response(true));
11 }
Something went wrong with that request. Please try again.