summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils')
-rw-r--r--kexi/kexiutils/longlongvalidator.cpp4
-rw-r--r--kexi/kexiutils/utils.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexiutils/longlongvalidator.cpp b/kexi/kexiutils/longlongvalidator.cpp
index e7cce8671..363c18b17 100644
--- a/kexi/kexiutils/longlongvalidator.cpp
+++ b/kexi/kexiutils/longlongvalidator.cpp
@@ -26,14 +26,14 @@
using namespace KexiUtils;
LongLongValidator::LongLongValidator( TQWidget * parent, int base, const char * name )
- : TQValidator(TQT_TQOBJECT(parent), name)
+ : TQValidator(parent, name)
, m_min(0), m_max(0)
{
setBase(base);
}
LongLongValidator::LongLongValidator( TQ_LLONG bottom, TQ_LLONG top, TQWidget * parent, int base, const char * name )
- : TQValidator(TQT_TQOBJECT(parent), name)
+ : TQValidator(parent, name)
{
setBase(base);
setRange( bottom, top );
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);