mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
17 lines
323 B
C++
17 lines
323 B
C++
|
#include "BlockUrl.h"
|
||
|
#include "SocketCommand.h"
|
||
|
#include "WebPage.h"
|
||
|
#include "WebPageManager.h"
|
||
|
|
||
|
BlockUrl::BlockUrl(
|
||
|
WebPageManager *manager,
|
||
|
QStringList &arguments,
|
||
|
QObject *parent
|
||
|
) : SocketCommand(manager, arguments, parent) {
|
||
|
}
|
||
|
|
||
|
void BlockUrl::start() {
|
||
|
manager()->blockUrl(arguments()[0]);
|
||
|
finish(true);
|
||
|
}
|