Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (11 sloc) 0.452 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14

#include "SetUrlBlacklist.h"
#include "WebPageManager.h"
#include "WebPage.h"
#include "NetworkAccessManager.h"

SetUrlBlacklist::SetUrlBlacklist(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
}

void SetUrlBlacklist::start() {
  NetworkAccessManager* networkAccessManager = page()->networkAccessManager();
  networkAccessManager->setUrlBlacklist(arguments());
  emitFinished(true);
}
Something went wrong with that request. Please try again.