diff options
| author | Shaun Reich <[email protected]> | 2009-02-15 18:06:04 +0000 |
|---|---|---|
| committer | Shaun Reich <[email protected]> | 2009-02-15 18:06:04 +0000 |
| commit | 8ce343ba3d1f3f60dc8a53fdf23497db0fffb37d (patch) | |
| tree | 87a4d42f9c4fa711fabe131cacfe3824c780f772 /src/settings/dolphinsettingsdialog.cpp | |
| parent | 614a1a186158b29b27e303766d576b2b4636ecf1 (diff) | |
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
Diffstat (limited to 'src/settings/dolphinsettingsdialog.cpp')
| -rw-r--r-- | src/settings/dolphinsettingsdialog.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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 <klocale.h> #include <kmessagebox.h> @@ -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); } |
