summaryrefslogtreecommitdiffstats
path: root/tools/thesaurus/main.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /tools/thesaurus/main.cc
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'tools/thesaurus/main.cc')
-rw-r--r--tools/thesaurus/main.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/thesaurus/main.cc b/tools/thesaurus/main.cc
index 33d87564c..dc0d9d686 100644
--- a/tools/thesaurus/main.cc
+++ b/tools/thesaurus/main.cc
@@ -302,7 +302,7 @@ void Thesaurus::setCaption()
{
KURL url = KURL();
url.setPath(m_data_file);
- m_dialog->setCaption(i18n("Related Words - %1").tqarg(url.fileName()));
+ m_dialog->setCaption(i18n("Related Words - %1").arg(url.fileName()));
}
// Enbale or disable back and forward button
@@ -429,7 +429,7 @@ void Thesaurus::thesExited(KProcess *)
if( !m_thesproc_stderr.isEmpty() ) {
KMessageBox::error(0, i18n("<b>Error:</b> Failed to execute grep. "
- "Output:<br>%1").tqarg(m_thesproc_stderr));
+ "Output:<br>%1").arg(m_thesproc_stderr));
TQApplication::restoreOverrideCursor();
return;
}
@@ -590,10 +590,10 @@ void Thesaurus::findTermWordnet(const TQString &term)
m_combobox->insertItem(i18n("Synonyms/Hypernyms - Ordered by Frequency"));
m_combobox->insertItem(i18n("Synonyms - Ordered by Similarity of Meaning (verbs only)"));
m_combobox->insertItem(i18n("Antonyms - Words with Opposite Meanings"));
- m_combobox->insertItem(i18n("Hyponyms - ... is a (kind of) %1").tqarg(m_edit->currentText()));
- m_combobox->insertItem(i18n("Meronyms - %1 has a ...").tqarg(m_edit->currentText()));
+ m_combobox->insertItem(i18n("Hyponyms - ... is a (kind of) %1").arg(m_edit->currentText()));
+ m_combobox->insertItem(i18n("Meronyms - %1 has a ...").arg(m_edit->currentText()));
// 5:
- m_combobox->insertItem(i18n("Holonyms - ... has a %1").tqarg(m_edit->currentText()));
+ m_combobox->insertItem(i18n("Holonyms - ... has a %1").arg(m_edit->currentText()));
m_combobox->insertItem(i18n("Attributes"));
m_combobox->insertItem(i18n("Cause To (for some verbs only)"));
m_combobox->insertItem(i18n("Verb Entailment (for some verbs only)"));
@@ -648,13 +648,13 @@ void Thesaurus::wnExited(KProcess *)
if( !m_wnproc_stderr.isEmpty() ) {
m_resultbox->setText(i18n("<b>Error:</b> Failed to execute WordNet program 'wn'. "
- "Output:<br>%1").tqarg(m_wnproc_stderr));
+ "Output:<br>%1").arg(m_wnproc_stderr));
TQApplication::restoreOverrideCursor();
return;
}
if( m_wnproc_stdout.isEmpty() ) {
- m_resultbox->setText(i18n("No match for '%1'.").tqarg(m_edit->currentText()));
+ m_resultbox->setText(i18n("No match for '%1'.").arg(m_edit->currentText()));
} else {
// render in a table, each line one row:
TQStringList lines = lines.split(TQChar('\n'), m_wnproc_stdout, false);