From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kgenericfactory.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdecore/kgenericfactory.h') diff --git a/kdecore/kgenericfactory.h b/kdecore/kgenericfactory.h index 0bdeaa846..4d2c03615 100644 --- a/kdecore/kgenericfactory.h +++ b/kdecore/kgenericfactory.h @@ -133,7 +133,7 @@ KInstance *KGenericFactoryBase::instance() * const TQStringList &args); *
  • If the class is derived from KParts::Part then it needs to have * a constructor like: - * MyPart( TQWidget *parentWidget, const char *widgetName, + * MyPart( TQWidget *tqparentWidget, const char *widgetName, * TQObject *parent, const char *name, * const TQStringList &args ); * @@ -190,8 +190,8 @@ protected: const char *className, const TQStringList &args ) { KGenericFactoryBase::initializeMessageCatalogue(); - return KDEPrivate::ConcreteFactory - ::create( 0, 0, parent, name, className, args ); + return TQT_TQOBJECT( (KDEPrivate::ConcreteFactory + ::create( 0, 0, parent, name, className, args )) ); } }; @@ -216,7 +216,7 @@ protected: * const TQStringList &args); *
  • If the class is derived from KParts::Part then it needs to have * a constructor like: - * MyPart( TQWidget *parentWidget, const char *widgetName, + * MyPart( TQWidget *tqparentWidget, const char *widgetName, * TQObject *parent, const char *name, * const TQStringList &args ); * @@ -253,7 +253,7 @@ protected: * { * Q_ OBJECT * public: - * MyDialogComponent( TQWidget *parentWidget, const char *name, + * MyDialogComponent( TQWidget *tqparentWidget, const char *name, * const TQStringList &args ); * ... * }; @@ -311,7 +311,7 @@ protected: * const TQStringList &args); *
  • If the class is derived from KParts::Part then it needs to have * a constructor like: - * MyPart( TQWidget *parentWidget, const char *widgetName, + * MyPart( TQWidget *tqparentWidget, const char *widgetName, * TQObject *parent, const char *name, * const TQStringList &args ); * @@ -348,7 +348,7 @@ protected: * { * Q_ OBJECT * public: - * MyDialogComponent( TQWidget *parentWidget, const char *name, + * MyDialogComponent( TQWidget *tqparentWidget, const char *name, * const TQStringList &args ); * ... * }; -- cgit v1.2.1