summaryrefslogtreecommitdiff
path: root/src/settings/webkitwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-03-25 10:45:05 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-12 02:30:00 +0200
commitbaa03e5adc8a9022b64b77a6450491738724ab6d (patch)
treedb38025317a3af0cdaabca7518c733a9b1481653 /src/settings/webkitwidget.cpp
parentUpdate docs to 0.9.0, remove extra screenshots (unused). (diff)
downloadrekonq-baa03e5adc8a9022b64b77a6450491738724ab6d.tar.xz
Privacy tab settings
Clean up (again) rekonq settings, adding "advanced" and "privacy" sections and removing the "network" one, merged here and there with the other ones
Diffstat (limited to 'src/settings/webkitwidget.cpp')
-rw-r--r--src/settings/webkitwidget.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/settings/webkitwidget.cpp b/src/settings/webkitwidget.cpp
index 0f7a4b3d..31224f05 100644
--- a/src/settings/webkitwidget.cpp
+++ b/src/settings/webkitwidget.cpp
@@ -28,9 +28,6 @@
#include "webkitwidget.h"
#include "webkitwidget.moc"
-// Auto Includes
-#include "rekonq.h"
-
WebKitWidget::WebKitWidget(QWidget *parent)
: QWidget(parent)
@@ -38,9 +35,6 @@ WebKitWidget::WebKitWidget(QWidget *parent)
{
setupUi(this);
setWebSettingsToolTips();
-
- updateJavascriptSettings(ReKonfig::javascriptEnabled());
- connect(kcfg_javascriptEnabled, SIGNAL(clicked(bool)), this, SLOT(updateJavascriptSettings(bool)));
}
@@ -70,17 +64,8 @@ void WebKitWidget::setWebSettingsToolTips()
kcfg_dnsPrefetch->setToolTip(i18n("Specifies whether WebKit will try to prefetch DNS entries to speed up browsing."));
kcfg_printElementBackgrounds->setToolTip(i18n("If enabled, background colors and images are also drawn when the page is printed."));
kcfg_javascriptEnabled->setToolTip(i18n("Enables the execution of JavaScript programs."));
- kcfg_javascriptCanOpenWindows->setToolTip(i18n("If enabled, JavaScript programs are allowed to open new windows."));
- kcfg_javascriptCanAccessClipboard->setToolTip(i18n("If enabled, JavaScript programs are allowed to read from and to write to the clipboard."));
kcfg_javaEnabled->setToolTip(i18n("Enables support for Java applets."));
kcfg_offlineStorageDatabaseEnabled->setToolTip(i18n("Enables support for the HTML 5 offline storage feature."));
kcfg_offlineWebApplicationCacheEnabled->setToolTip(i18n("Enables support for the HTML 5 web application cache feature."));
kcfg_localStorageEnabled->setToolTip(i18n("Enables support for the HTML 5 local storage feature."));
}
-
-
-void WebKitWidget::updateJavascriptSettings(bool b)
-{
- kcfg_javascriptCanAccessClipboard->setEnabled(b);
- kcfg_javascriptCanOpenWindows->setEnabled(b);
-}