From 8ce343ba3d1f3f60dc8a53fdf23497db0fffb37d Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Sun, 15 Feb 2009 18:06:04 +0000 Subject: Added the Trash KCM to Dolphin, it's visible in the Settings Dialog, in the 'Trash" page. Konqueror has it, we should too =) svn path=/trunk/KDE/kdebase/apps/; revision=926571 --- src/settings/dolphinsettingsdialog.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/settings/dolphinsettingsdialog.cpp') diff --git a/src/settings/dolphinsettingsdialog.cpp b/src/settings/dolphinsettingsdialog.cpp index e2c236354..93f95ca44 100644 --- a/src/settings/dolphinsettingsdialog.cpp +++ b/src/settings/dolphinsettingsdialog.cpp @@ -27,6 +27,7 @@ #include "servicessettingspage.h" #include "startupsettingspage.h" #include "viewsettingspage.h" +#include "trashsettingspage.h" #include #include @@ -74,6 +75,13 @@ DolphinSettingsDialog::DolphinSettingsDialog(const KUrl& url, QWidget* parent) : servicesSettingsFrame->setIcon(KIcon("services")); connect(servicesSettingsPage, SIGNAL(changed()), this, SLOT(enableApply())); + // Trash + TrashSettingsPage* trashSettingsPage = new TrashSettingsPage(this); + KPageWidgetItem* trashSettingsFrame = addPage(trashSettingsPage, + i18nc("@title:group", "Trash")); + trashSettingsFrame->setIcon(KIcon("user-trash")); + connect(trashSettingsPage, SIGNAL(changed()), this, SLOT(enableApply())); + // General GeneralSettingsPage* generalSettingsPage = new GeneralSettingsPage(url, this); KPageWidgetItem* generalSettingsFrame = addPage(generalSettingsPage, @@ -88,6 +96,7 @@ DolphinSettingsDialog::DolphinSettingsDialog(const KUrl& url, QWidget* parent) : m_pages.append(viewSettingsPage); m_pages.append(navigationSettingsPage); m_pages.append(servicesSettingsPage); + m_pages.append(trashSettingsPage); m_pages.append(generalSettingsPage); } -- cgit v1.3