2011-07-29 19:00:13 +00:00
|
|
|
#include "Body.h"
|
|
|
|
#include "WebPage.h"
|
|
|
|
|
2012-03-16 23:58:58 +00:00
|
|
|
Body::Body(WebPage *page, QStringList &arguments, QObject *parent) : Command(page, arguments, parent) {
|
2011-07-29 19:00:13 +00:00
|
|
|
}
|
|
|
|
|
2012-03-16 23:58:58 +00:00
|
|
|
void Body::start() {
|
2011-07-29 19:00:13 +00:00
|
|
|
QString result = page()->currentFrame()->toHtml();
|
|
|
|
emit finished(new Response(true, result));
|
|
|
|
}
|