summaryrefslogtreecommitdiffstats
path: root/kaboodle/kaboodle_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle/kaboodle_factory.cpp')
-rw-r--r--kaboodle/kaboodle_factory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaboodle/kaboodle_factory.cpp b/kaboodle/kaboodle_factory.cpp
index 0b842d53..99302702 100644
--- a/kaboodle/kaboodle_factory.cpp
+++ b/kaboodle/kaboodle_factory.cpp
@@ -42,15 +42,15 @@ Kaboodle::KaboodleFactory::~KaboodleFactory()
s_instance = 0;
}
-KParts::Part *Kaboodle::KaboodleFactory::createPartObject(TQWidget *widgetParent, const char *widgetName, TQObject *tqparent, const char *name, const char *className, const TQStringList &)
+KParts::Part *Kaboodle::KaboodleFactory::createPartObject(TQWidget *widgetParent, const char *widgetName, TQObject *parent, const char *name, const char *className, const TQStringList &)
{
if(className == TQString("KMediaPlayer/Engine"))
{
- return new Player(tqparent, name);
+ return new Player(parent, name);
}
else
{
- return new Player(widgetParent, widgetName, tqparent, name);
+ return new Player(widgetParent, widgetName, parent, name);
}
}