diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
commit | 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch) | |
tree | 34a73ef7b8771de54099eeffb941117e49a8865e /klatin | |
parent | 999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff) | |
download | tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'klatin')
-rw-r--r-- | klatin/klatin/data/vocab/en/I2L.kvtml | 2 | ||||
-rw-r--r-- | klatin/klatin/klatinchoose.ui | 2 | ||||
-rw-r--r-- | klatin/klatin/klatingrammar.cpp | 26 | ||||
-rw-r--r-- | klatin/klatin/klatingrammarwidget.ui | 12 | ||||
-rw-r--r-- | klatin/klatin/klatinresultsdialog.ui | 6 | ||||
-rw-r--r-- | klatin/klatin/klatinsettings_vocabpage.ui | 2 | ||||
-rw-r--r-- | klatin/klatin/klatinverbs.cpp | 14 | ||||
-rw-r--r-- | klatin/klatin/klatinverbswidget.ui | 12 | ||||
-rw-r--r-- | klatin/klatin/klatinvocabwidget.ui | 12 |
9 files changed, 44 insertions, 44 deletions
diff --git a/klatin/klatin/data/vocab/en/I2L.kvtml b/klatin/klatin/data/vocab/en/I2L.kvtml index 99b30a78..367475ba 100644 --- a/klatin/klatin/data/vocab/en/I2L.kvtml +++ b/klatin/klatin/data/vocab/en/I2L.kvtml @@ -151,7 +151,7 @@ </e> <e> <o>liberi (2)</o> - <t>tqchildren</t> + <t>children</t> </e> <e> <o>libero (1)</o> diff --git a/klatin/klatin/klatinchoose.ui b/klatin/klatin/klatinchoose.ui index b93172c3..2a7a664b 100644 --- a/klatin/klatin/klatinchoose.ui +++ b/klatin/klatin/klatinchoose.ui @@ -46,7 +46,7 @@ <string>Welcome to KLatin Please Choose Section of Revision</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> </widget> diff --git a/klatin/klatin/klatingrammar.cpp b/klatin/klatin/klatingrammar.cpp index 8e666cab..0598547f 100644 --- a/klatin/klatin/klatingrammar.cpp +++ b/klatin/klatin/klatingrammar.cpp @@ -153,40 +153,40 @@ void KLatinGrammar::nextQuestion() // Question string... switch (m_grammarNumber) { case 1: - questionString = i18n("What is the nominative singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the nominative singular of %1?").arg(m_noun[0]); break; case 2: - questionString = i18n("What is the vocative singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the vocative singular of %1?").arg(m_noun[0]); break; case 3: - questionString = i18n("What is the accusative singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the accusative singular of %1?").arg(m_noun[0]); break; case 4: - questionString = i18n("What is the genitive singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the genitive singular of %1?").arg(m_noun[0]); break; case 5: - questionString = i18n("What is the dative singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the dative singular of %1?").arg(m_noun[0]); break; case 6: - questionString = i18n("What is the ablative singular of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the ablative singular of %1?").arg(m_noun[0]); break; case 7: - questionString = i18n("What is the nominative plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the nominative plural of %1?").arg(m_noun[0]); break; case 8: - questionString = i18n("What is the vocative plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the vocative plural of %1?").arg(m_noun[0]); break; case 9: - questionString = i18n("What is the accusative plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the accusative plural of %1?").arg(m_noun[0]); break; case 10: - questionString = i18n("What is the genitive plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the genitive plural of %1?").arg(m_noun[0]); break; case 11: - questionString = i18n("What is the dative plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the dative plural of %1?").arg(m_noun[0]); break; case 12: - questionString = i18n("What is the ablative plural of %1?").tqarg(m_noun[0]); + questionString = i18n("What is the ablative plural of %1?").arg(m_noun[0]); break; } @@ -202,7 +202,7 @@ void KLatinGrammar::checkAnswer() // Allow a tolerance of 1 retry if (m_numWrong == 2) { m_numWrong = 0; - KMessageBox::information(this, i18n("The correct answer was %1.").tqarg(m_noun[m_grammarNumber - 1]), i18n("Wrong")); + KMessageBox::information(this, i18n("The correct answer was %1.").arg(m_noun[m_grammarNumber - 1]), i18n("Wrong")); if (ChooseSection->currentItem()==0) loadDatabase(); else diff --git a/klatin/klatin/klatingrammarwidget.ui b/klatin/klatin/klatingrammarwidget.ui index 1ea323b0..256c2ad9 100644 --- a/klatin/klatin/klatingrammarwidget.ui +++ b/klatin/klatin/klatingrammarwidget.ui @@ -43,7 +43,7 @@ <property name="text"> <string>Grammar Section</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -110,7 +110,7 @@ Line 2 Line 3 Line 4</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -187,7 +187,7 @@ Line 4</string> <property name="text"> <string>Score</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -228,7 +228,7 @@ Line 4</string> <property name="text"> <string>0</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter|AlignRight</set> </property> <property name="hAlign" stdset="0"> @@ -241,7 +241,7 @@ Line 4</string> <property name="text"> <string>/</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -261,7 +261,7 @@ Line 4</string> <property name="name"> <cstring>PercentageLabel</cstring> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> diff --git a/klatin/klatin/klatinresultsdialog.ui b/klatin/klatin/klatinresultsdialog.ui index 983ddc2f..4de8e7f9 100644 --- a/klatin/klatin/klatinresultsdialog.ui +++ b/klatin/klatin/klatinresultsdialog.ui @@ -31,7 +31,7 @@ <property name="text"> <string><b>Your Results</b></string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignCenter</set> </property> </widget> @@ -119,7 +119,7 @@ <property name="text"> <string></string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="toolTip" stdset="0"> @@ -150,7 +150,7 @@ <property name="text"> <string></string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="toolTip" stdset="0"> diff --git a/klatin/klatin/klatinsettings_vocabpage.ui b/klatin/klatin/klatinsettings_vocabpage.ui index d659140d..bd35a37e 100644 --- a/klatin/klatin/klatinsettings_vocabpage.ui +++ b/klatin/klatin/klatinsettings_vocabpage.ui @@ -128,7 +128,7 @@ <property name="text"> <string>Number of questions:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignVCenter</set> </property> <property name="toolTip" stdset="0"> diff --git a/klatin/klatin/klatinverbs.cpp b/klatin/klatin/klatinverbs.cpp index 3c0b6d52..70d42ed8 100644 --- a/klatin/klatin/klatinverbs.cpp +++ b/klatin/klatin/klatinverbs.cpp @@ -202,12 +202,12 @@ void KLatinVerbs::nextQuestion() "ARGUMENT %5 is the voice of the verb (Active, Passive). " "ARGUMENT %6 is the verb name (amo, moneo etc). This is in Latin and should not be translated. " "The output string in English is something like: What is the first person singular present indicative active of amo?", - "What is the %1 person %2 %3 %4 %5 of %6?").tqarg(i18n(question.person[person])) - .tqarg(i18n(question.number[number])) - .tqarg(i18n(question.tense[tense])) - .tqarg(i18n(verbparts.mood[ChooseMood->currentItem()])) - .tqarg(i18n(verbparts.voice[ChooseVoice->currentItem()])) - .tqarg(m_currentVerb); + "What is the %1 person %2 %3 %4 %5 of %6?").arg(i18n(question.person[person])) + .arg(i18n(question.number[number])) + .arg(i18n(question.tense[tense])) + .arg(i18n(verbparts.mood[ChooseMood->currentItem()])) + .arg(i18n(verbparts.voice[ChooseVoice->currentItem()])) + .arg(m_currentVerb); QuestionLabel->setText(QuestionString); } @@ -226,7 +226,7 @@ void KLatinVerbs::checkAnswer() // Retry tolerance... if (m_numWrong == 2) { m_numWrong = 0; - KMessageBox::information(this, i18n("The correct answer was %1.").tqarg(m_verb[m_verbNumber - 1]), i18n("Wrong")); + KMessageBox::information(this, i18n("The correct answer was %1.").arg(m_verb[m_verbNumber - 1]), i18n("Wrong")); nextQuestion(); } } else { diff --git a/klatin/klatin/klatinverbswidget.ui b/klatin/klatin/klatinverbswidget.ui index e866ba8f..415225ae 100644 --- a/klatin/klatin/klatinverbswidget.ui +++ b/klatin/klatin/klatinverbswidget.ui @@ -39,7 +39,7 @@ <property name="text"> <string>Verbs Section</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -154,7 +154,7 @@ Line 2 Line 3 Line 4</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -231,7 +231,7 @@ Line 4</string> <property name="text"> <string>Score</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -272,7 +272,7 @@ Line 4</string> <property name="text"> <string>0</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter|AlignRight</set> </property> <property name="hAlign" stdset="0"> @@ -285,7 +285,7 @@ Line 4</string> <property name="text"> <string>/</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -305,7 +305,7 @@ Line 4</string> <property name="name"> <cstring>PercentageLabel</cstring> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> diff --git a/klatin/klatin/klatinvocabwidget.ui b/klatin/klatin/klatinvocabwidget.ui index 84b956ef..9b89d9e4 100644 --- a/klatin/klatin/klatinvocabwidget.ui +++ b/klatin/klatin/klatinvocabwidget.ui @@ -37,7 +37,7 @@ <property name="text"> <string>Vocabulary Section</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -77,7 +77,7 @@ <property name="text"> <string>Question Word</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -152,7 +152,7 @@ <property name="text"> <string>Score</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -193,7 +193,7 @@ <property name="text"> <string>0</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter|AlignRight</set> </property> <property name="hAlign" stdset="0"> @@ -206,7 +206,7 @@ <property name="text"> <string>/</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> @@ -226,7 +226,7 @@ <property name="name"> <cstring>PercentageLabel</cstring> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="hAlign" stdset="0"> |