summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/kvoctrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/kvoctrain.cpp')
-rw-r--r--kvoctrain/kvoctrain/kvoctrain.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kvoctrain/kvoctrain/kvoctrain.cpp b/kvoctrain/kvoctrain/kvoctrain.cpp
index 2a106dd8..c9be7784 100644
--- a/kvoctrain/kvoctrain/kvoctrain.cpp
+++ b/kvoctrain/kvoctrain/kvoctrain.cpp
@@ -96,13 +96,13 @@ void kvoctrainApp::slotCurrentCellChanged(int row, int col)
if (rem_label != 0)
rem_label->setText(i18n("Abbreviation for R)emark","R: %1")
- .tqarg(noData ? TQString() : expr->getRemark(col)));
+ .arg(noData ? TQString() : expr->getRemark(col)));
if (pron_label != 0)
pron_label->setText(i18n("Abbreviation for P)ronouncation","P: %1")
- .tqarg(noData ? TQString() : expr->getPronunce(col)));
+ .arg(noData ? TQString() : expr->getPronunce(col)));
if (type_label != 0)
type_label->setText(i18n("Abbreviation for T)ype of word", "T: %1")
- .tqarg(noData ? TQString() : QueryManager::typeStr(expr->getType(col))));
+ .arg(noData ? TQString() : QueryManager::typeStr(expr->getType(col))));
if (entryDlg != 0) {
if (noData)
@@ -1140,11 +1140,11 @@ void kvoctrainApp::aboutToShowLearn()
if((j = langset.indexShortId(doc->getIdent(i))) >= 0
&& !langset.PixMapFile(j).isEmpty()
&& !langset.longId(j).isEmpty() ) {
- query_m->insertItem(TQPixmap(langset.PixMapFile(j)), i18n("From %1").tqarg(main_names[i]),
+ query_m->insertItem(TQPixmap(langset.PixMapFile(j)), i18n("From %1").arg(main_names[i]),
(i << (16+8)) | IDH_START_TQUERY); // hack: IDs => header-ids + cmd
}
else {
- query_m->insertItem(i18n("From %1").tqarg(doc->getIdent(i)), (i << (16+8)) | IDH_START_TQUERY);
+ query_m->insertItem(i18n("From %1").arg(doc->getIdent(i)), (i << (16+8)) | IDH_START_TQUERY);
}
}
@@ -1158,11 +1158,11 @@ void kvoctrainApp::aboutToShowLearn()
if((j = langset.indexShortId(doc->getIdent(i))) >= 0
&& !langset.PixMapFile(j).isEmpty()
&& !langset.longId(j).isEmpty() ) {
- multiple_m->insertItem(TQPixmap(langset.PixMapFile(j)), i18n("From %1").tqarg(main_names[i]),
+ multiple_m->insertItem(TQPixmap(langset.PixMapFile(j)), i18n("From %1").arg(main_names[i]),
(i << (16+8)) | IDH_START_MULTIPLE); // hack: IDs => header-ids + cmd
}
else {
- multiple_m->insertItem(i18n("From %1").tqarg(doc->getIdent(i)), (i << (16+8)) | IDH_START_MULTIPLE);
+ multiple_m->insertItem(i18n("From %1").arg(doc->getIdent(i)), (i << (16+8)) | IDH_START_MULTIPLE);
}
}
header_m->insertItem(SmallIconSet("run_multi"), i18n("Create &Multiple Choice"), multiple_m, (4 << 16) | IDH_NULL);
@@ -1272,7 +1272,7 @@ void kvoctrainApp::aboutToShowVocabSetLanguage()
if (doc->numLangs() <= 2)
set_m->insertItem(i18n("&Translation"), langs_m, (2 << 16) | IDH_NULL);
else
- set_m->insertItem(i18n("&%1. Translation").tqarg(header), langs_m, (2 << 16) | IDH_NULL);
+ set_m->insertItem(i18n("&%1. Translation").arg(header), langs_m, (2 << 16) | IDH_NULL);
}
}
}