summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqobjectdefs.h
diff options
context:
space:
mode:
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 4e2fbddf..e274ee43 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