#include "Status.h" #include "WebPage.h" #include "WebPageManager.h" #include Status::Status(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) { } void Status::start() { int status = page()->getLastStatus(); emitFinished(true, QString::number(status)); }