diff options
Diffstat (limited to 'karm/karm_part.cpp')
-rw-r--r-- | karm/karm_part.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/karm/karm_part.cpp b/karm/karm_part.cpp index abe8fed61..dca3cf94e 100644 --- a/karm/karm_part.cpp +++ b/karm/karm_part.cpp @@ -21,17 +21,17 @@ #include <tqpopupmenu.h> #include "mainwindow.h" -karmPart::karmPart( TQWidget *tqparentWidget, const char *widgetName, +karmPart::karmPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name ) : DCOPObject ( "KarmDCOPIface" ), KParts::ReadWritePart(tqparent, name), - _accel ( new KAccel( tqparentWidget ) ), - _watcher ( new KAccelMenuWatch( _accel, TQT_TQOBJECT(tqparentWidget) ) ) + _accel ( new KAccel( parentWidget ) ), + _watcher ( new KAccelMenuWatch( _accel, TQT_TQOBJECT(parentWidget) ) ) { // we need an instance setInstance( karmPartFactory::instance() ); // this should be your custom internal widget - _taskView = new TaskView( tqparentWidget, widgetName ); + _taskView = new TaskView( parentWidget, widgetName ); // setup PreferenceDialog. _preferences = Preferences::instance(); @@ -387,12 +387,12 @@ karmPartFactory::~karmPartFactory() s_instance = 0L; } -KParts::Part* karmPartFactory::createPartObject( TQWidget *tqparentWidget, const char *widgetName, +KParts::Part* karmPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const char *classname, const TQStringList &args ) { // Create an instance of our Part - karmPart* obj = new karmPart( tqparentWidget, widgetName, tqparent, name ); + karmPart* obj = new karmPart( parentWidget, widgetName, tqparent, name ); // See if we are to be read-write or not if (TQCString(classname) == "KParts::ReadOnlyPart") |