diff options
Diffstat (limited to 'kparts/genericfactory.h')
-rw-r--r-- | kparts/genericfactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kparts/genericfactory.h b/kparts/genericfactory.h index 99ce7c3be..241943fcb 100644 --- a/kparts/genericfactory.h +++ b/kparts/genericfactory.h @@ -111,7 +111,7 @@ namespace KParts if ( part && !qstrcmp( className, "KParts::ReadOnlyPart" ) ) { - KParts::ReadWritePart *rwp = dynamic_cast<KParts::ReadWritePart *>( part ); + KParts::ReadWritePart *rwp = tqt_dynamic_cast<KParts::ReadWritePart *>( part ); if ( rwp ) rwp->setReadWrite( false ); } @@ -137,11 +137,11 @@ namespace KParts args ); // (this cast is guaranteed to work...) - KParts::Part *part = dynamic_cast<KParts::Part *>( object ); + KParts::Part *part = tqt_dynamic_cast<KParts::Part *>( object ); if ( part && !qstrcmp( className, "KParts::ReadOnlyPart" ) ) { - KParts::ReadWritePart *rwp = dynamic_cast<KParts::ReadWritePart *>( part ); + KParts::ReadWritePart *rwp = tqt_dynamic_cast<KParts::ReadWritePart *>( part ); if ( rwp ) rwp->setReadWrite( false ); } |