diff options
Diffstat (limited to 'src/settings/privacywidget.cpp')
-rw-r--r-- | src/settings/privacywidget.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/settings/privacywidget.cpp b/src/settings/privacywidget.cpp index 789c29b1..105fab60 100644 --- a/src/settings/privacywidget.cpp +++ b/src/settings/privacywidget.cpp @@ -31,8 +31,8 @@ // Auto Includes #include "rekonq.h" -// KDE Includes -#include <KDebug> +// Qt Includes +#include <QProcess> PrivacyWidget::PrivacyWidget(QWidget *parent) @@ -98,13 +98,21 @@ void PrivacyWidget::updateJavascriptSettings(bool b) void PrivacyWidget::launchCacheSettings() { - kDebug() << "CACHE"; + QString program = QL1S("kcmshell4"); + QStringList arguments; + arguments << QL1S("cache"); + QProcess *proc = new QProcess(this); + proc->start(program, arguments); } void PrivacyWidget::launchCookieSettings() { - kDebug() << "COOKIES"; + QString program = QL1S("kcmshell4"); + QStringList arguments; + arguments << QL1S("cookies"); + QProcess *proc = new QProcess(this); + proc->start(program, arguments); } |