summaryrefslogtreecommitdiffstats
path: root/tdeparts/genericfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts/genericfactory.h')
-rw-r--r--tdeparts/genericfactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/genericfactory.h b/tdeparts/genericfactory.h
index 27e76a753..0ecc72e4e 100644
--- a/tdeparts/genericfactory.h
+++ b/tdeparts/genericfactory.h
@@ -111,7 +111,7 @@ namespace KParts
if ( part && !qstrcmp( className, "KParts::ReadOnlyPart" ) )
{
- KParts::ReadWritePart *rwp = tqt_dynamic_cast<KParts::ReadWritePart *>( part );
+ KParts::ReadWritePart *rwp = 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 = tqt_dynamic_cast<KParts::Part *>( object );
+ KParts::Part *part = dynamic_cast<KParts::Part *>( object );
if ( part && !qstrcmp( className, "KParts::ReadOnlyPart" ) )
{
- KParts::ReadWritePart *rwp = tqt_dynamic_cast<KParts::ReadWritePart *>( part );
+ KParts::ReadWritePart *rwp = dynamic_cast<KParts::ReadWritePart *>( part );
if ( rwp )
rwp->setReadWrite( false );
}