summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/NotationConfigurationPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/configuration/NotationConfigurationPage.cpp')
-rw-r--r--src/gui/configuration/NotationConfigurationPage.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/configuration/NotationConfigurationPage.cpp b/src/gui/configuration/NotationConfigurationPage.cpp
index c0b6f18..990ca26 100644
--- a/src/gui/configuration/NotationConfigurationPage.cpp
+++ b/src/gui/configuration/NotationConfigurationPage.cpp
@@ -86,16 +86,16 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
tqlayout->addWidget(new TQLabel(i18n("Default tqlayout mode"), frame), row, 0);
- m_tqlayoutMode = new KComboBox(frame);
- m_tqlayoutMode->setEditable(false);
- m_tqlayoutMode->insertItem(i18n("Linear tqlayout"));
- m_tqlayoutMode->insertItem(i18n("Continuous page tqlayout"));
- m_tqlayoutMode->insertItem(i18n("Multiple page tqlayout"));
- int defaultLayoutMode = m_cfg->readNumEntry("tqlayoutmode", 0);
+ m_layoutMode = new KComboBox(frame);
+ m_layoutMode->setEditable(false);
+ m_layoutMode->insertItem(i18n("Linear tqlayout"));
+ m_layoutMode->insertItem(i18n("Continuous page tqlayout"));
+ m_layoutMode->insertItem(i18n("Multiple page tqlayout"));
+ int defaultLayoutMode = m_cfg->readNumEntry("layoutmode", 0);
if (defaultLayoutMode >= 0 && defaultLayoutMode <= 2) {
- m_tqlayoutMode->setCurrentItem(defaultLayoutMode);
+ m_layoutMode->setCurrentItem(defaultLayoutMode);
}
- tqlayout->addMultiCellWidget(m_tqlayoutMode, row, row, 1, 2);
+ tqlayout->addMultiCellWidget(m_layoutMode, row, row, 1, 2);
++row;
tqlayout->addWidget(new TQLabel(i18n("Default spacing"), frame), row, 0);
@@ -715,7 +715,7 @@ NotationConfigurationPage::apply()
s = NotationHLayout::getAvailableProportions();
m_cfg->writeEntry("proportion", s[m_proportion->currentItem()]);
- m_cfg->writeEntry("tqlayoutmode", m_tqlayoutMode->currentItem());
+ m_cfg->writeEntry("layoutmode", m_layoutMode->currentItem());
m_cfg->writeEntry("colourquantize", m_colourQuantize->isChecked());
m_cfg->writeEntry("showunknowns", m_showUnknowns->isChecked());
m_cfg->writeEntry("showinvisibles", m_showInvisibles->isChecked());