diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 17:09:32 +0900 |
commit | 09e466f879ed6e5b17980110eec2cc8db1b4f914 (patch) | |
tree | cbe99eab52f3be3b60af8104d9809da63f9ab6f2 /tdecore/kgenericfactory.tcc | |
parent | 34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (diff) | |
download | tdelibs-09e466f879ed6e5b17980110eec2cc8db1b4f914.tar.gz tdelibs-09e466f879ed6e5b17980110eec2cc8db1b4f914.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 48b07a0ff120e8b4479bcac912d8a8f043e22ae4)
Diffstat (limited to 'tdecore/kgenericfactory.tcc')
-rw-r--r-- | tdecore/kgenericfactory.tcc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/kgenericfactory.tcc b/tdecore/kgenericfactory.tcc index e7ba1c730..dda6ec487 100644 --- a/tdecore/kgenericfactory.tcc +++ b/tdecore/kgenericfactory.tcc @@ -150,7 +150,7 @@ namespace KDEPrivate const TQStringList &args, Type2Type<TQWidget> ) { - WidgetParentType *p = dynamic_cast<WidgetParentType *>( static_cast<TQT_BASE_OBJECT_NAME*>(parent) ); + WidgetParentType *p = dynamic_cast<WidgetParentType *>( parent ); if ( parent && !p ) return 0; return new Product( p, name, args ); @@ -160,7 +160,7 @@ namespace KDEPrivate TQObject *parent, const char *name, const TQStringList &args, Type2Type<TQObject> ) { - ParentType *p = dynamic_cast<ParentType *>( static_cast<TQT_BASE_OBJECT_NAME*>(parent) ); + ParentType *p = dynamic_cast<ParentType *>( parent ); if ( parent && !p ) return 0; return new Product( p, name, args ); @@ -179,9 +179,9 @@ namespace KDEPrivate const char *className, const TQStringList &args ) { - return static_cast<TQObject*>(static_cast<QObject*>(ConcreteFactory<Product, ParentType>::create( parentWidget, widgetName, - parent, name, className, - args ))); + return static_cast<TQObject*>(ConcreteFactory<Product, ParentType>::create( parentWidget, widgetName, + parent, name, className, + args )); } }; |