summaryrefslogtreecommitdiffstats
path: root/klettres
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
commit746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch)
tree34a73ef7b8771de54099eeffb941117e49a8865e /klettres
parent999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff)
downloadtdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz
tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'klettres')
-rw-r--r--klettres/klettres/klettres.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/klettres/klettres/klettres.cpp b/klettres/klettres/klettres.cpp
index e9168379..06d1ca12 100644
--- a/klettres/klettres/klettres.cpp
+++ b/klettres/klettres/klettres.cpp
@@ -285,11 +285,11 @@ void KLettres::loadSettings()
m_languageAction->setCurrentItem(Prefs::languageNumber());
TQString langString = m_languageNames[Prefs::languageNumber()];
langString.replace("&", TQString());
- m_langLabel->setText(i18n("Current language is %1").tqarg(langString));
+ m_langLabel->setText(i18n("Current language is %1").arg(langString));
loadLangToolBar();
// load default level
m_levelAction->setCurrentItem(Prefs::level()-1);
- m_levLabel->setText(i18n("Current level is %1").tqarg(Prefs::level()));
+ m_levLabel->setText(i18n("Current level is %1").arg(Prefs::level()));
if (Prefs::theme() == Prefs::EnumTheme::classroom) {
m_themeAction->setCurrentItem(0);
@@ -358,7 +358,7 @@ void KLettres::updateLevMenu(int id)
{
//m_levelCombo->setCurrentItem(id);
m_levelAction->setCurrentItem(id);
- m_levLabel->setText(i18n("Current level is %1").tqarg(Prefs::level()));
+ m_levLabel->setText(i18n("Current level is %1").arg(Prefs::level()));
}
void KLettres::slotChangeLanguage(int newLanguage)
@@ -369,7 +369,7 @@ void KLettres::slotChangeLanguage(int newLanguage)
// Update the StatusBar
TQString langString = m_languageNames[newLanguage];
langString.replace("&", TQString());
- m_langLabel->setText(i18n("Current language is %1").tqarg(langString));
+ m_langLabel->setText(i18n("Current language is %1").arg(langString));
loadLangToolBar();
// Change language effectively
bool ok = loadLayout(soundFactory->m_layoutsDocument);
@@ -452,14 +452,14 @@ void KLettres::loadLangToolBar()
if (m_languages[Prefs::languageNumber()]== "cs" || m_languages[Prefs::languageNumber()]== "da" || m_languages[Prefs::languageNumber()]== "sk" || m_languages[Prefs::languageNumber()]== "es" || m_languages[Prefs::languageNumber()]== "de" || m_languages[Prefs::languageNumber()]== "nds")//Dutch, English, French and Italian have no special characters
{
allData.clear();
- TQString myString=TQString("klettres/%1.txt").tqarg(m_languages[Prefs::languageNumber()]);
+ TQString myString=TQString("klettres/%1.txt").arg(m_languages[Prefs::languageNumber()]);
TQFile myFile;
myFile.setName(locate("data",myString));
if (!myFile.exists())
{
TQString mString=i18n("File $TDEDIR/share/apps/klettres/%1.txt not found;\n"
- "please check your installation.").tqarg(m_languages[Prefs::languageNumber()]);
+ "please check your installation.").arg(m_languages[Prefs::languageNumber()]);
KMessageBox::sorry( this, mString,
i18n("Error") );
kapp->quit();
@@ -475,7 +475,7 @@ void KLettres::loadLangToolBar()
openFileStream.close();
for (int i=0; i<(int) allData.count(); i++) {
if (!allData[i].isEmpty())
- m_secondToolbar->insertButton (charIcon(allData[i].at(0)), i, TQT_SIGNAL( clicked() ), TQT_TQOBJECT(this), TQT_SLOT( slotPasteChar()), true, i18n("Inserts the character %1").tqarg(allData[i]), i+1 );
+ m_secondToolbar->insertButton (charIcon(allData[i].at(0)), i, TQT_SIGNAL( clicked() ), TQT_TQOBJECT(this), TQT_SLOT( slotPasteChar()), true, i18n("Inserts the character %1").arg(allData[i]), i+1 );
}
}
}