summaryrefslogtreecommitdiff
path: root/src/settings/webkitwidget.cpp
diff options
context:
space:
mode:
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);
-}