Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 362 Bytes
#include "ClearCookies.h"
#include "WebPage.h"
#include "WebPageManager.h"
#include "NetworkCookieJar.h"
#include <QNetworkCookie>
ClearCookies::ClearCookies(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {}
void ClearCookies::start()
{
manager()->cookieJar()->clearCookies();
finish(true);
}