summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/konq_factory.cc')
-rw-r--r--konqueror/konq_factory.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/konqueror/konq_factory.cc b/konqueror/konq_factory.cc
index e53b3a32c..b7a3868af 100644
--- a/konqueror/konq_factory.cc
+++ b/konqueror/konq_factory.cc
@@ -45,7 +45,7 @@ KonqViewFactory::KonqViewFactory( KLibFactory *factory, const TQStringList &args
m_args << TQString::tqfromLatin1( "Browser/View" );
}
-KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *tqparentWidget, const char *widgetName,
+KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *parentWidget, const char *widgetName,
TQObject * parent, const char *name )
{
if ( !m_factory )
@@ -56,18 +56,18 @@ KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *tqparentWidget, const c
if ( m_factory->inherits( "KParts::Factory" ) )
{
if ( m_createBrowser )
- obj = static_cast<KParts::Factory *>(m_factory)->createPart( tqparentWidget, widgetName, parent, name, "Browser/View", m_args );
+ obj = static_cast<KParts::Factory *>(m_factory)->createPart( parentWidget, widgetName, parent, name, "Browser/View", m_args );
if ( !obj )
- obj = static_cast<KParts::Factory *>(m_factory)->createPart( tqparentWidget, widgetName, parent, name, "KParts::ReadOnlyPart", m_args );
+ obj = static_cast<KParts::Factory *>(m_factory)->createPart( parentWidget, widgetName, parent, name, "KParts::ReadOnlyPart", m_args );
}
else
{
if ( m_createBrowser )
- obj = m_factory->create( TQT_TQOBJECT(tqparentWidget), name, "Browser/View", m_args );
+ obj = m_factory->create( TQT_TQOBJECT(parentWidget), name, "Browser/View", m_args );
if ( !obj )
- obj = m_factory->create( TQT_TQOBJECT(tqparentWidget), name, "KParts::ReadOnlyPart", m_args );
+ obj = m_factory->create( TQT_TQOBJECT(parentWidget), name, "KParts::ReadOnlyPart", m_args );
}
if ( !obj->inherits( "KParts::ReadOnlyPart" ) )