summaryrefslogtreecommitdiffstats
path: root/kparts/componentfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/componentfactory.h')
-rw-r--r--kparts/componentfactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kparts/componentfactory.h b/kparts/componentfactory.h
index 80661b191..64feac1c8 100644
--- a/kparts/componentfactory.h
+++ b/kparts/componentfactory.h
@@ -66,7 +66,7 @@ namespace KParts
T::tqstaticMetaObject()->className(),
args );
- T *result = dynamic_cast<T *>( static_cast<TQT_BASE_OBJECT_NAME*>(object) );
+ T *result = tqt_dynamic_cast<T *>( object );
if ( !result )
delete object;
return result;
@@ -104,7 +104,7 @@ namespace KParts
T::tqstaticMetaObject()->className(),
args );
- T *result = dynamic_cast<T *>( object );
+ T *result = tqt_dynamic_cast<T *>( object );
if ( !result )
delete object;
return result;
@@ -178,7 +178,7 @@ namespace KParts
*error = ErrNoFactory;
return 0;
}
- KParts::Factory *partFactory = dynamic_cast<KParts::Factory *>( factory );
+ KParts::Factory *partFactory = tqt_dynamic_cast<KParts::Factory *>( factory );
if ( !partFactory )
{
library->unload();