diff options
Diffstat (limited to 'tdecore/kgenericfactory.tcc')
-rw-r--r-- | tdecore/kgenericfactory.tcc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kgenericfactory.tcc b/tdecore/kgenericfactory.tcc index c3afb1b5a..330af8aa2 100644 --- a/tdecore/kgenericfactory.tcc +++ b/tdecore/kgenericfactory.tcc @@ -125,13 +125,13 @@ namespace KDEPrivate TQObject *parent, const char *name, const char *className, const TQStringList &args ) { - TQMetaObject *tqmetaObject = Product::tqstaticMetaObject(); - while ( tqmetaObject ) + TQMetaObject *metaObject = Product::staticMetaObject(); + while ( metaObject ) { - if ( !qstrcmp( className, tqmetaObject->className() ) ) + if ( !qstrcmp( className, metaObject->className() ) ) return create( parentWidget, widgetName, parent, name, args, Type2Type<BaseType>() ); - tqmetaObject = tqmetaObject->tqsuperClass(); + metaObject = metaObject->superClass(); } return 0; } |