summaryrefslogtreecommitdiffstats
path: root/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp')
-rw-r--r--libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp b/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp
index b25e50355..110168904 100644
--- a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp
+++ b/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.cpp
@@ -48,7 +48,7 @@ void KPartsGenericPart::load()
delete m_part;
}
// "this" is both the tqparent widget and the tqparent object
- m_part = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, TQString(), this, 0, this, 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, TQString(), TQT_TQWIDGET(this), 0, TQT_TQOBJECT(this), 0 );
if ( m_part ) {
m_part->openURL( m_url );
m_part->widget()->show();