summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-08-04 11:43:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-08-04 11:48:57 +0200
commit309cd39927b613c378346a29330333be727c2a99 (patch)
tree994c7b1b0f189eddb530c5d83688b9c6016ac9a9 /src/settings/settingsdialog.cpp
parentaction to search with default searchEnine in marked text's context menu. REVI... (diff)
downloadrekonq-309cd39927b613c378346a29330333be727c2a99.tar.xz
Tools Action Menu
- Removed showDeveloperTools action - Moved adblock GUI to adblock part - renamed toolsMenu and developerMenu to reflect their real/new roles - Added UserAgent action to the tools menu REVIEW:102170 REVIEWED-BY: fritz_van_tom
Diffstat (limited to 'src/settings/settingsdialog.cpp')
-rw-r--r--src/settings/settingsdialog.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index a8d5f5b0..061430d3 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -40,7 +40,6 @@
#include "opensearchmanager.h"
// Widget Includes
-#include "adblockwidget.h"
#include "networkwidget.h"
#include "generalwidget.h"
#include "appearancewidget.h"
@@ -70,7 +69,6 @@ private:
AppearanceWidget *appearanceWidg;
WebKitWidget *webkitWidg;
NetworkWidget *networkWidg;
- AdBlockWidget *adBlockWidg;
KCModuleProxy *ebrowsingModule;
@@ -116,12 +114,6 @@ Private::Private(SettingsDialog *parent)
pageItem = parent->addPage(networkWidg , i18n("Network"));
pageItem->setIcon(KIcon("preferences-system-network"));
- // -- 6
- adBlockWidg = new AdBlockWidget(parent);
- adBlockWidg->layout()->setMargin(0);
- pageItem = parent->addPage(adBlockWidg , i18n("Ad Block"));
- pageItem->setIcon(KIcon("preferences-web-browser-adblock"));
-
// -- 7
shortcutsEditor = new KShortcutsEditor(rApp->mainWindow()->actionCollection(), parent);
pageItem = parent->addPage(shortcutsEditor , i18n("Shortcuts"));
@@ -164,7 +156,6 @@ SettingsDialog::SettingsDialog(QWidget *parent)
connect(d->appearanceWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons()));
connect(d->webkitWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons()));
connect(d->networkWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons()));
- connect(d->adBlockWidg, SIGNAL(changed(bool)), this, SLOT(updateButtons()));
connect(d->ebrowsingModule, SIGNAL(changed(bool)), this, SLOT(updateButtons()));
connect(d->shortcutsEditor, SIGNAL(keyChange()), this, SLOT(updateButtons()));
@@ -199,7 +190,6 @@ void SettingsDialog::saveSettings()
d->appearanceWidg->save();
d->webkitWidg->save();
d->networkWidg->save();
- d->adBlockWidg->save();
d->shortcutsEditor->save();
d->ebrowsingModule->save();
@@ -219,7 +209,6 @@ bool SettingsDialog::hasChanged()
|| d->appearanceWidg->changed()
|| d->webkitWidg->changed()
|| d->networkWidg->changed()
- || d->adBlockWidg->changed()
|| d->ebrowsingModule->changed()
|| d->shortcutsEditor->isModified();
;