summaryrefslogtreecommitdiffstats
path: root/tdecore/kgenericfactory.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kgenericfactory.tcc')
-rw-r--r--tdecore/kgenericfactory.tcc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kgenericfactory.tcc b/tdecore/kgenericfactory.tcc
index 330af8aa2..c3afb1b5a 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 *metaObject = Product::staticMetaObject();
- while ( metaObject )
+ TQMetaObject *tqmetaObject = Product::tqstaticMetaObject();
+ while ( tqmetaObject )
{
- if ( !qstrcmp( className, metaObject->className() ) )
+ if ( !qstrcmp( className, tqmetaObject->className() ) )
return create( parentWidget, widgetName,
parent, name, args, Type2Type<BaseType>() );
- metaObject = metaObject->superClass();
+ tqmetaObject = tqmetaObject->tqsuperClass();
}
return 0;
}