Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 444 Bytes
#include "JavascriptAlertMessages.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "JsonSerializer.h"
JavascriptAlertMessages::JavascriptAlertMessages(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
void JavascriptAlertMessages::start()
{
JsonSerializer serializer;
QByteArray json = serializer.serialize(page()->alertMessages());
emitFinished(true, json);
}
Jump to Line
Something went wrong with that request. Please try again.