summaryrefslogtreecommitdiffstats
path: root/bibletime/frontend/coptionsdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:01:21 -0600
commitb3604f731cc45450d860d07be06fc050339de07a (patch)
tree339ae23dd7ec32f81d8feeed9c74cfc6e8108f2d /bibletime/frontend/coptionsdialog.cpp
parent3b005fadaa25c84a914d6889714a6f476afb8187 (diff)
downloadbibletime-b3604f731cc45450d860d07be06fc050339de07a.tar.gz
bibletime-b3604f731cc45450d860d07be06fc050339de07a.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'bibletime/frontend/coptionsdialog.cpp')
-rw-r--r--bibletime/frontend/coptionsdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/frontend/coptionsdialog.cpp b/bibletime/frontend/coptionsdialog.cpp
index 7191b17..3d72c27 100644
--- a/bibletime/frontend/coptionsdialog.cpp
+++ b/bibletime/frontend/coptionsdialog.cpp
@@ -276,7 +276,7 @@ void COptionsDialog::initLanguages() {
(CBTConfig::language).local8Bit()
);
if (locale) {
- currentLanguageName = TQString::tqfromLatin1(locale->getDescription());
+ currentLanguageName = TQString::fromLatin1(locale->getDescription());
}
}
@@ -351,7 +351,7 @@ void COptionsDialog::initLanguages() {
m_settings.fonts.fontChooser->setFont( m_settings.fonts.fontMap[m_settings.fonts.usage->currentText()].second );
useOwnFontClicked( m_settings.fonts.fontMap[m_settings.fonts.usage->currentText()].first );
m_settings.fonts.useOwnFontBox->setChecked( m_settings.fonts.fontMap[m_settings.fonts.usage->currentText()].first );
- m_settings.fonts.fontChooser->setMinimumSize(m_settings.fonts.fontChooser->tqsizeHint());
+ m_settings.fonts.fontChooser->setMinimumSize(m_settings.fonts.fontChooser->sizeHint());
}
}
@@ -853,8 +853,8 @@ void COptionsDialog::saveSword() {
SWLocale* locale = LocaleMgr::getSystemLocaleMgr()->getLocale((*it).c_str());
Q_ASSERT(locale);
- if ( locale && (TQString::tqfromLatin1(locale->getDescription()) == currentLanguageName) ) {
- languageAbbrev = TQString::tqfromLatin1(locale->getName()); //we found the abbrevation for the current language
+ if ( locale && (TQString::fromLatin1(locale->getDescription()) == currentLanguageName) ) {
+ languageAbbrev = TQString::fromLatin1(locale->getName()); //we found the abbrevation for the current language
break;
}
}