+void GeneralSettingsPage::loadSettings()
+{
+ GeneralSettings* settings = DolphinSettings::instance().generalSettings();
+ m_homeUrl->setText(settings->homeUrl());
+ m_splitView->setChecked(settings->splitView());
+ m_editableUrl->setChecked(settings->editableUrl());
+ m_filterBar->setChecked(settings->filterBar());
+
+ KSharedConfig::Ptr konqConfig = KSharedConfig::openConfig("konquerorrc", KConfig::IncludeGlobals);
+ const KConfigGroup trashConfig(konqConfig, "Trash");
+ m_confirmMoveToTrash->setChecked(trashConfig.readEntry("ConfirmTrash", false));
+ m_confirmDelete->setChecked(trashConfig.readEntry("ConfirmDelete", true));
+
+ const KConfigGroup kdeConfig(KGlobal::config(), "KDE");
+ m_showDeleteCommand->setChecked(kdeConfig.readEntry("ShowDeleteCommand", false));
+}
+