summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp')
-rw-r--r--kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp b/kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp
index b7c1837e..87e0fe59 100644
--- a/kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp
+++ b/kvoctrain/kvoctrain/entry-dialogs/AuxInfoEntryPage.cpp
@@ -23,7 +23,7 @@
* *
***************************************************************************/
-#include <qmultilineedit.h>
+#include <tqmultilineedit.h>
#include "AuxInfoEntryPage.h"
#include "EntryDlg.h"
@@ -36,18 +36,18 @@ AuxInfoEntryPage::AuxInfoEntryPage
(
EntryDlg *_dlgbook,
bool multi_sel,
- QString syno,
- QString anto,
- QString exam,
- QString rem,
- QString para,
- QWidget *parent,
+ TQString syno,
+ TQString anto,
+ TQString exam,
+ TQString rem,
+ TQString para,
+ TQWidget *parent,
const char *name
)
: AuxInfoEntryPageForm( parent, name ), dlgbook(_dlgbook)
{
- QFontMetrics fm (synonym_line->font());
+ TQFontMetrics fm (synonym_line->font());
int sz = fm.lineSpacing();
synonym_line->setMaximumHeight(sz*3);
@@ -56,17 +56,17 @@ AuxInfoEntryPage::AuxInfoEntryPage
remark_line->setMaximumHeight(sz*3);
examp_line->setMaximumHeight(sz*3);
- connect( para_line, SIGNAL(textChanged()), SLOT(slotParaSelected()) );
- connect( remark_line, SIGNAL(textChanged()), SLOT(slotRemarkSelected()) );
- connect( examp_line, SIGNAL(textChanged()), SLOT(slotExampSelected()) );
- connect( antonym_line, SIGNAL(textChanged()), SLOT(slotAntonymSelected()) );
- connect( synonym_line, SIGNAL(textChanged()), SLOT(slotSynonymSelected()) );
+ connect( para_line, TQT_SIGNAL(textChanged()), TQT_SLOT(slotParaSelected()) );
+ connect( remark_line, TQT_SIGNAL(textChanged()), TQT_SLOT(slotRemarkSelected()) );
+ connect( examp_line, TQT_SIGNAL(textChanged()), TQT_SLOT(slotExampSelected()) );
+ connect( antonym_line, TQT_SIGNAL(textChanged()), TQT_SLOT(slotAntonymSelected()) );
+ connect( synonym_line, TQT_SIGNAL(textChanged()), TQT_SLOT(slotSynonymSelected()) );
setData(multi_sel, syno, anto, exam, rem, para);
}
-void AuxInfoEntryPage::setData(bool multi_sel, QString syno, QString anto, QString example, QString remark, QString para)
+void AuxInfoEntryPage::setData(bool multi_sel, TQString syno, TQString anto, TQString example, TQString remark, TQString para)
{
synonym_line->setText(syno);
antonym_line->setText(anto);
@@ -121,42 +121,42 @@ void AuxInfoEntryPage::slotParaSelected ()
}
-QString AuxInfoEntryPage::getSynonym ()
+TQString AuxInfoEntryPage::getSynonym ()
{
normalize(synonym);
return synonym;
}
-QString AuxInfoEntryPage::getAntonym ()
+TQString AuxInfoEntryPage::getAntonym ()
{
normalize(antonym);
return antonym;
}
-QString AuxInfoEntryPage::getExample ()
+TQString AuxInfoEntryPage::getExample ()
{
normalize(example);
return example;
}
-QString AuxInfoEntryPage::getRemark ()
+TQString AuxInfoEntryPage::getRemark ()
{
normalize(remark);
return remark;
}
-QString AuxInfoEntryPage::getParaphrase ()
+TQString AuxInfoEntryPage::getParaphrase ()
{
normalize(paraphrase);
return paraphrase;
}
-void AuxInfoEntryPage::normalize (QString &str)
+void AuxInfoEntryPage::normalize (TQString &str)
{
LineList ll (str);
ll.normalizeWS();