]> cloud.milkyroute.net Git - dolphin.git/commitdiff
rename the checkbox "Browse through archives" to "Open archives as folder"
authorPeter Penz <peter.penz19@gmail.com>
Tue, 3 Feb 2009 17:54:33 +0000 (17:54 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 3 Feb 2009 17:54:33 +0000 (17:54 +0000)
CCBUG: 182991

svn path=/trunk/KDE/kdebase/apps/; revision=920733

src/settings/navigationsettingspage.cpp
src/settings/navigationsettingspage.h

index 57b5c1bb5c573bb7a92abe1cd77ad8151414cdb7..b5925c07d3925b9f7e6b2c2560ee8ad10815c478 100644 (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());
 }
 
index 10f75b1a091a2dbcbf82391eff22903c02cee9d1..8178d60956ba3c156b77a199b57c0079c5d34d46 100644 (file)
@@ -47,7 +47,7 @@ private:
 private:
     QRadioButton* m_singleClick;
     QRadioButton* m_doubleClick;
-    QCheckBox* m_browseThroughArchives;
+    QCheckBox* m_openArchivesAsFolder;
     QCheckBox* m_autoExpandFolders;
 };