diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 21:44:59 +0900 |
commit | 1607518b8c749b4195c5ab11b405f77001526a6a (patch) | |
tree | 89b8bc00c6b9625f6a4f061594f57f457d18a174 /kexi/kexiutils/utils.h | |
parent | 64574118b7f71db7cb0a7f513a824dd51185b632 (diff) | |
download | koffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
Diffstat (limited to 'kexi/kexiutils/utils.h')
-rw-r--r-- | kexi/kexiutils/utils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexiutils/utils.h b/kexi/kexiutils/utils.h index acb3cf07..e244f02e 100644 --- a/kexi/kexiutils/utils.h +++ b/kexi/kexiutils/utils.h @@ -42,7 +42,7 @@ namespace KexiUtils //! \return parent object of \a o that inherits \a className or NULL if no such parent template<class type> - inline type* findParent(TQT_BASE_OBJECT_NAME* o, const char* className) + inline type* findParent(TQObject* o, const char* className) { if (!o || !className || className[0]=='\0') return 0; @@ -67,12 +67,12 @@ namespace KexiUtils If objName is 0 (the default), all object names match. Returned pointer type is casted. */ template<class type> - type* findFirstChild(TQT_BASE_OBJECT_NAME *o, const char* className, const char* objName = 0) + type* findFirstChild(TQObject *o, const char* className, const char* objName = 0) { if (!o || !className || className[0]=='\0') return 0; TQObjectList *l = TQT_TQOBJECT(o)->queryList( className, objName ); - TQT_BASE_OBJECT_NAME *result = l->first(); + TQObject *result = l->first(); delete l; return static_cast<type*>(result); } |