diff options
Diffstat (limited to 'kmid/kmid_part.cpp')
-rw-r--r-- | kmid/kmid_part.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmid/kmid_part.cpp b/kmid/kmid_part.cpp index 39b10603..16618f7d 100644 --- a/kmid/kmid_part.cpp +++ b/kmid/kmid_part.cpp @@ -37,11 +37,11 @@ KMidFactory::~KMidFactory() s_instance = 0; } -KParts::Part *KMidFactory::createPartObject(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name, const char*, +KParts::Part *KMidFactory::createPartObject(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name, const char*, const TQStringList& ) { - KParts::Part *obj = new KMidPart(parentWidget, widgetName, parent, name); + KParts::Part *obj = new KMidPart(tqparentWidget, widgetName, tqparent, name); return obj; } @@ -65,15 +65,15 @@ KInstance *KMidFactory::instance() return s_instance; } - KMidPart::KMidPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name) -: KParts::ReadOnlyPart(parent, name) + KMidPart::KMidPart(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name) +: KParts::ReadOnlyPart(tqparent, name) { setInstance(KMidFactory::instance()); - widget = new kmidClient(parentWidget, actionCollection()); + widget = new kmidClient(tqparentWidget, actionCollection()); widget->show(); - widget->setFocusPolicy(TQWidget::ClickFocus); + widget->setFocusPolicy(TQ_ClickFocus); setWidget(widget); // create and connect our actions @@ -133,8 +133,8 @@ void KMidPart::slotStop() { widget->stop(); } -KMidBrowserExtension::KMidBrowserExtension(KMidPart *parent) - : KParts::BrowserExtension(parent, "KMidBrowserExtension") +KMidBrowserExtension::KMidBrowserExtension(KMidPart *tqparent) + : KParts::BrowserExtension(tqparent, "KMidBrowserExtension") { } |