summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqobjectdefs.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-06 12:45:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-07 15:14:50 +0900
commit926102a455014e6ab308aaced19e32eed7ed4414 (patch)
treee067ab2b73341043cc70aa9c109e300357576e98 /src/kernel/ntqobjectdefs.h
parente0a3cab4467dccdd57a8cba57656be53ae192a51 (diff)
downloadtqt3-926102a455014e6ab308aaced19e32eed7ed4414.tar.gz
tqt3-926102a455014e6ab308aaced19e32eed7ed4414.zip
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/ntqobjectdefs.h')
-rw-r--r--src/kernel/ntqobjectdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ntqobjectdefs.h b/src/kernel/ntqobjectdefs.h
index 4e2fbddfa..e274ee435 100644
--- a/src/kernel/ntqobjectdefs.h
+++ b/src/kernel/ntqobjectdefs.h
@@ -169,6 +169,6 @@ Q_EXPORT void *tqt_find_obj_child( TQObject *, const char *, const char * );
Q_EXPORT void *tqt_inheritedBy( TQMetaObject *super, const TQObject *cls );
template <typename T>
-Q_INLINE_TEMPLATES T tqt_cast(const TQObject *object)
+TQ_INLINE_TEMPLATES T tqt_cast(const TQObject *object)
{ return (T)tqt_inheritedBy( ((T)0)->staticMetaObject(), object ); }
#endif // TQOBJECTDEFS_H