summaryrefslogtreecommitdiffstats
path: root/kvoctrain
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain')
-rw-r--r--kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp2
-rw-r--r--kvoctrain/kvoctrain/kvoctraintableitem.cpp2
-rw-r--r--kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp b/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
index 197208d5..e786b534 100644
--- a/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
+++ b/kvoctrain/kvoctrain/common-dialogs/languageoptions.cpp
@@ -812,7 +812,7 @@ void LanguageOptions::enableLangWidgets()
}
else
{
- if (replyType == TQSTRINGLIST_OBJECT_NAME_STRING)
+ if (replyType == "TQStringList")
{
TQStringList layouts;
TQDataStream stream(replyData, IO_ReadOnly);
diff --git a/kvoctrain/kvoctrain/kvoctraintableitem.cpp b/kvoctrain/kvoctrain/kvoctraintableitem.cpp
index 641a6852..565af26f 100644
--- a/kvoctrain/kvoctrain/kvoctraintableitem.cpp
+++ b/kvoctrain/kvoctrain/kvoctraintableitem.cpp
@@ -106,7 +106,7 @@ TQWidget *KVocTrainTableItem::createEditor() const
void KVocTrainTableItem::setContentFromEditor( TQWidget *w )
{
if (m_doc != 0) {
- if ( w->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) ) {
+ if ( w->inherits( "TQComboBox" ) ) {
if (col() == KV_COL_MARK) {
TQComboBox *statebox = (TQComboBox*) w;
kvoctrainExpr *expr = m_doc->getEntry(row());
diff --git a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp
index 42debac2..6b047be3 100644
--- a/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp
+++ b/kvoctrain/kvoctrain/query-dialogs/RandomQueryDlg.cpp
@@ -486,7 +486,7 @@ void RandomQueryDlg::slotTransChanged(const TQString&)
{
mw->verify->setDefault(true);
bool suggestions = Prefs::suggestions();
- if ( suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA (TQCOMBOBOX_OBJECT_NAME_STRING) )
+ if ( suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA ("TQComboBox") )
{
TQLineEdit* edit = ((TQComboBox*) sender()) -> lineEdit();
resetField (edit);
@@ -497,7 +497,7 @@ void RandomQueryDlg::slotTransChanged(const TQString&)
else
mw->status -> clear();
}
- else if ( ! suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA (TQLINEEDIT_OBJECT_NAME_STRING) )
+ else if ( ! suggestions && sender() && TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())) -> isA ("TQLineEdit") )
resetField ((TQLineEdit*) sender());
}