rename the checkbox "Browse through archives" to "Open archives as folder"

CCBUG: 182991

svn path=/trunk/KDE/kdebase/apps/; revision=920733
This commit is contained in:
Peter Penz 2009-02-03 17:54:33 +00:00
parent aa885d4e21
commit 7af662dc12
2 changed files with 6 additions and 6 deletions

View file

@ -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());
}

View file

@ -47,7 +47,7 @@ private:
private:
QRadioButton* m_singleClick;
QRadioButton* m_doubleClick;
QCheckBox* m_browseThroughArchives;
QCheckBox* m_openArchivesAsFolder;
QCheckBox* m_autoExpandFolders;
};