Skip to content
This repository
Newer
Older
100644 11 lines (9 sloc) 0.315 kb
81ad8fd1 » halogenandtoast
2011-07-29 Implement source and body. Evaluate javascript should return nil when…
1 #include "Body.h"
2 #include "WebPage.h"
f80125e6 » mhoran
2012-04-04 Pass the WebPageManager to each command
3 #include "WebPageManager.h"
81ad8fd1 » halogenandtoast
2011-07-29 Implement source and body. Evaluate javascript should return nil when…
4
95732ad7 » jferris
2012-07-08 Split Command into more abstract Command and concrete SocketCommand
5 Body::Body(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
81ad8fd1 » halogenandtoast
2011-07-29 Implement source and body. Evaluate javascript should return nil when…
6 }
7
85dcc729 » jferris
2012-03-16 Pass command arguments to the constructor
8 void Body::start() {
81ad8fd1 » halogenandtoast
2011-07-29 Implement source and body. Evaluate javascript should return nil when…
9 QString result = page()->currentFrame()->toHtml();
10 emit finished(new Response(true, result));
11 }
Something went wrong with that request. Please try again.