1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/Status.cpp

14 lines
332 B
C++
Raw Normal View History

2011-08-12 16:50:43 -04:00
#include "Status.h"
#include "WebPage.h"
#include "WebPageManager.h"
2011-08-12 16:50:43 -04:00
#include <sstream>
Status::Status(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
2011-08-12 16:50:43 -04:00
}
void Status::start() {
2011-08-12 16:50:43 -04:00
int status = page()->getLastStatus();
emitFinished(true, QString::number(status));
2011-08-12 16:50:43 -04:00
}