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

13 lines
300 B
C++
Raw Normal View History

2011-08-12 16:50:43 -04:00
#include "Status.h"
#include "WebPage.h"
#include <sstream>
Status::Status(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, 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();
emit finished(new Response(true, QString::number(status)));
}