summaryrefslogtreecommitdiff
path: root/src/settings/advancedwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-25 11:02:01 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-12 02:30:00 +0200
commit6c93d6d04176ac3460c92b46fae41606e5c9ac0f (patch)
treea0de794c224b1b1cf345b81b04c936c734de5dda /src/settings/advancedwidget.cpp
parentTirtha's string suggestion about DNT header settings (diff)
downloadrekonq-6c93d6d04176ac3460c92b46fae41606e5c9ac0f.tar.xz
Launch proxy, cache, cookies settings as (Q)Process(es)
Diffstat (limited to 'src/settings/advancedwidget.cpp')
-rw-r--r--src/settings/advancedwidget.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/settings/advancedwidget.cpp b/src/settings/advancedwidget.cpp
index a9ecebfe..7a607954 100644
--- a/src/settings/advancedwidget.cpp
+++ b/src/settings/advancedwidget.cpp
@@ -28,8 +28,8 @@
#include "advancedwidget.h"
#include "advancedwidget.moc"
-// KDE Includes
-#include <KDebug>
+// Qt Includes
+#include <QProcess>
AdvancedWidget::AdvancedWidget(QWidget *parent)
@@ -60,5 +60,9 @@ void AdvancedWidget::hasChanged()
void AdvancedWidget::launchProxySettings()
{
- kDebug() << "PROXY";
+ QString program = QL1S("kcmshell4");
+ QStringList arguments;
+ arguments << QL1S("proxy");
+ QProcess *proc = new QProcess(this);
+ proc->start(program, arguments);
}