Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 468 Bytes
#include "Visit.h"
#include "Command.h"
#include "WebPage.h"
Visit::Visit(WebPage *page, QObject *parent) : Command(page, parent) {
connect(page, SIGNAL(loadFinished(bool)), this, SLOT(loadFinished(bool)));
void Visit::start(QStringList &arguments) {
void Visit::loadFinished(bool success) {
QString response;
if (!success)
response = page()->failureString();
emit finished(success, response);
Jump to Line
Something went wrong with that request. Please try again.