From 7af662dc12e8c4544c924e22fe0dc24df8efac2c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 3 Feb 2009 17:54:33 +0000 Subject: [PATCH] rename the checkbox "Browse through archives" to "Open archives as folder" CCBUG: 182991 svn path=/trunk/KDE/kdebase/apps/; revision=920733 --- src/settings/navigationsettingspage.cpp | 10 +++++----- src/settings/navigationsettingspage.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/settings/navigationsettingspage.cpp b/src/settings/navigationsettingspage.cpp index 57b5c1bb5..b5925c07d 100644 --- a/src/settings/navigationsettingspage.cpp +++ b/src/settings/navigationsettingspage.cpp @@ -36,7 +36,7 @@ NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) : SettingsPageBase(parent), - m_browseThroughArchives(0), + m_openArchivesAsFolder(0), m_autoExpandFolders(0) { const int spacing = KDialog::spacingHint(); @@ -58,8 +58,8 @@ NavigationSettingsPage::NavigationSettingsPage(QWidget* parent) : mouseBoxLayout->addWidget(m_singleClick); mouseBoxLayout->addWidget(m_doubleClick); - m_browseThroughArchives = new QCheckBox(i18nc("@option:check", "Browse through archives"), vBox); - connect(m_browseThroughArchives, SIGNAL(toggled(bool)), this, SIGNAL(changed())); + m_openArchivesAsFolder = new QCheckBox(i18nc("@option:check", "Open archives as folder"), vBox); + connect(m_openArchivesAsFolder, SIGNAL(toggled(bool)), this, SIGNAL(changed())); m_autoExpandFolders = new QCheckBox(i18nc("option:check", "Open folders during drag operations"), vBox); connect(m_autoExpandFolders, SIGNAL(toggled(bool)), this, SIGNAL(changed())); @@ -87,7 +87,7 @@ void NavigationSettingsPage::applySettings() KGlobalSettings::self()->emitChange(KGlobalSettings::SettingsChanged, KGlobalSettings::SETTINGS_MOUSE); GeneralSettings* settings = DolphinSettings::instance().generalSettings(); - settings->setBrowseThroughArchives(m_browseThroughArchives->isChecked()); + settings->setBrowseThroughArchives(m_openArchivesAsFolder->isChecked()); settings->setAutoExpandFolders(m_autoExpandFolders->isChecked()); } @@ -110,7 +110,7 @@ void NavigationSettingsPage::loadSettings() m_singleClick->setChecked(singleClick); m_doubleClick->setChecked(!singleClick); GeneralSettings* settings = DolphinSettings::instance().generalSettings(); - m_browseThroughArchives->setChecked(settings->browseThroughArchives()); + m_openArchivesAsFolder->setChecked(settings->browseThroughArchives()); m_autoExpandFolders->setChecked(settings->autoExpandFolders()); } diff --git a/src/settings/navigationsettingspage.h b/src/settings/navigationsettingspage.h index 10f75b1a0..8178d6095 100644 --- a/src/settings/navigationsettingspage.h +++ b/src/settings/navigationsettingspage.h @@ -47,7 +47,7 @@ private: private: QRadioButton* m_singleClick; QRadioButton* m_doubleClick; - QCheckBox* m_browseThroughArchives; + QCheckBox* m_openArchivesAsFolder; QCheckBox* m_autoExpandFolders; }; -- 2.47.3