summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils/utils.h')
-rw-r--r--kexi/kexiutils/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexiutils/utils.h b/kexi/kexiutils/utils.h
index 89af157ce..2cff43ebe 100644
--- a/kexi/kexiutils/utils.h
+++ b/kexi/kexiutils/utils.h
@@ -46,7 +46,7 @@ namespace KexiUtils
{
if (!o || !className || className[0]=='\0')
return 0;
- while ( ((o=TQT_TQOBJECT(o)->parent())) && !TQT_TQOBJECT(o)->inherits(className) )
+ while ( ((o=o->parent())) && !o->inherits(className) )
;
return static_cast<type*>(o);
}
@@ -71,7 +71,7 @@ namespace KexiUtils
{
if (!o || !className || className[0]=='\0')
return 0;
- TQObjectList *l = TQT_TQOBJECT(o)->queryList( className, objName );
+ TQObjectList *l = o->queryList( className, objName );
TQObject *result = l->first();
delete l;
return static_cast<type*>(result);