Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.32 kB
62b4991 @joefiorini Add ability to query for console messages & errors
joefiorini authored
1 #include "ConsoleMessages.h"
2 #include "WebPage.h"
f80125e @mhoran Pass the WebPageManager to each command
mhoran authored
3 #include "WebPageManager.h"
62b4991 @joefiorini Add ability to query for console messages & errors
joefiorini authored
4
f80125e @mhoran Pass the WebPageManager to each command
mhoran authored
5 ConsoleMessages::ConsoleMessages(WebPageManager *manager, QStringList &arguments, QObject *parent) : Command(manager, arguments, parent) {
62b4991 @joefiorini Add ability to query for console messages & errors
joefiorini authored
6 }
7
85dcc72 @jferris Pass command arguments to the constructor
jferris authored
8 void ConsoleMessages::start() {
62b4991 @joefiorini Add ability to query for console messages & errors
joefiorini authored
9 emit finished(new Response(true, page()->consoleMessages()));
10 }
11
Something went wrong with that request. Please try again.