Skip to content
This repository
Newer
Older
100644 12 lines (10 sloc) 0.377 kb
646eabc6 » seangeo
2012-03-30 Add option to disable image loading in WebKit.
1 #include "SetSkipImageLoading.h"
2 #include "WebPage.h"
f80125e6 » mhoran
2012-04-04 Pass the WebPageManager to each command
3 #include "WebPageManager.h"
646eabc6 » seangeo
2012-03-30 Add option to disable image loading in WebKit.
4
f80125e6 » mhoran
2012-04-04 Pass the WebPageManager to each command
5 SetSkipImageLoading::SetSkipImageLoading(WebPageManager *manager, QStringList &arguments, QObject *parent) :
95732ad7 » jferris
2012-07-08 Split Command into more abstract Command and concrete SocketCommand
6 SocketCommand(manager, arguments, parent) {
646eabc6 » seangeo
2012-03-30 Add option to disable image loading in WebKit.
7 }
8
9 void SetSkipImageLoading::start() {
10 page()->setSkipImageLoading(arguments().contains("true"));
11 emit finished(new Response(true));
12 }
Something went wrong with that request. Please try again.