diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 06:00:15 +0000 |
commit | b1057f437bf65300831a0ccb45b920787c6b318d (patch) | |
tree | f8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kmid/kmid_part.cpp | |
parent | 4ddfca384ced9ad654213aef9dc2c3973720b980 (diff) | |
download | tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip |
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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") { } |