summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:19:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-24 16:56:48 +0900
commit757d80a919132cf72773928d53d100d22358de34 (patch)
tree78f1145fbd227d1135514b40e66e2e4bcbe3fcce /kexi/kexiutils
parent9abcf51de91242d1ab70230ba46abd2108416edf (diff)
downloadkoffice-757d80a9.tar.gz
koffice-757d80a9.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
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);