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.h | |
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.h')
-rw-r--r-- | kmid/kmid_part.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/kmid/kmid_part.h b/kmid/kmid_part.h index 5b0cbc0e..c22d8d43 100644 --- a/kmid/kmid_part.h +++ b/kmid/kmid_part.h @@ -12,13 +12,14 @@ class kmidClient; class KDE_EXPORT KMidFactory : public KParts::Factory { Q_OBJECT + TQ_OBJECT public: KMidFactory(); virtual ~KMidFactory(); - virtual KParts::Part* createPartObject(TQWidget *parentWidget, const char *widgetName, - TQObject* parent = 0, const char* name = 0, - const char* classname = "TQObject", + virtual KParts::Part* createPartObject(TQWidget *tqparentWidget, const char *widgetName, + TQObject* tqparent = 0, const char* name = 0, + const char* classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList()); static KInstance *instance(); @@ -31,9 +32,10 @@ class KDE_EXPORT KMidFactory : public KParts::Factory class KMidPart: public KParts::ReadOnlyPart { Q_OBJECT + TQ_OBJECT public: - KMidPart(TQWidget *parentWidget, const char *widgetName, - TQObject *parent, const char *name); + KMidPart(TQWidget *tqparentWidget, const char *widgetName, + TQObject *tqparent, const char *name); virtual ~KMidPart(); @@ -54,9 +56,10 @@ class KMidPart: public KParts::ReadOnlyPart class KMidBrowserExtension : public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT friend class KMidPart; public: - KMidBrowserExtension(KMidPart *parent); + KMidBrowserExtension(KMidPart *tqparent); virtual ~KMidBrowserExtension(); }; |