diff options
Diffstat (limited to 'tools/thesaurus/main.cc')
-rw-r--r-- | tools/thesaurus/main.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/thesaurus/main.cc b/tools/thesaurus/main.cc index 32271af8..573b907c 100644 --- a/tools/thesaurus/main.cc +++ b/tools/thesaurus/main.cc @@ -97,11 +97,11 @@ Thesaurus::Thesaurus(TQObject* parent, const char* name, const TQStringList &) row1->addWidget(m_edit, 1); row1->addWidget(m_search, 0); m_back = new TQToolButton(m_page); - m_back->setIconSet(BarIconSet(TQString::fromLatin1("back"))); + m_back->setIconSet(BarIconSet(TQString::tqfromLatin1("back"))); TQToolTip::add(m_back, i18n("Back")); row1->addWidget(m_back, 0); m_forward = new TQToolButton(m_page); - m_forward->setIconSet(BarIconSet(TQString::fromLatin1("forward"))); + m_forward->setIconSet(BarIconSet(TQString::tqfromLatin1("forward"))); TQToolTip::add(m_forward, i18n("Forward")); row1->addWidget(m_forward, 0); m_lang = new KPushButton(i18n("Change Language..."), m_page); @@ -302,7 +302,7 @@ void Thesaurus::setCaption() { KURL url = KURL(); url.setPath(m_data_file); - m_dialog->setCaption(i18n("Related Words - %1").arg(url.fileName())); + m_dialog->setCaption(i18n("Related Words - %1").tqarg(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").arg(m_thesproc_stderr)); + "Output:<br>%1").tqarg(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").arg(m_edit->currentText())); - m_combobox->insertItem(i18n("Meronyms - %1 has a ...").arg(m_edit->currentText())); + 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())); // 5: - m_combobox->insertItem(i18n("Holonyms - ... has a %1").arg(m_edit->currentText())); + m_combobox->insertItem(i18n("Holonyms - ... has a %1").tqarg(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)")); @@ -604,7 +604,7 @@ void Thesaurus::findTermWordnet(const TQString &term) m_combobox->insertItem(i18n("Overview of Senses")); /** NOT todo: - * -Hypernym tree: layout is difficult, you can get the same information + * -Hypernym tree: tqlayout is difficult, you can get the same information * by following links * -Coordinate terms (sisters): just go to synset and then use hyponyms * -Has Part Meronyms, Has Substance Meronyms, Has Member Meronyms, @@ -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").arg(m_wnproc_stderr)); + "Output:<br>%1").tqarg(m_wnproc_stderr)); TQApplication::restoreOverrideCursor(); return; } if( m_wnproc_stdout.isEmpty() ) { - m_resultbox->setText(i18n("No match for '%1'.").arg(m_edit->currentText())); + m_resultbox->setText(i18n("No match for '%1'.").tqarg(m_edit->currentText())); } else { // render in a table, each line one row: TQStringList lines = lines.split(TQChar('\n'), m_wnproc_stdout, false); @@ -677,7 +677,7 @@ void Thesaurus::wnExited(KProcess *) // TODO?: // move "=>" in own column? l = formatLine(l); - // Table layout: + // Table tqlayout: result += "<tr>"; if( l.startsWith(" ") ) { result += "\t<td width=\"15\"></td>"; |