diff options
Diffstat (limited to 'languages/cpp/app_templates/kofficepart/kopart_factory.h')
-rw-r--r-- | languages/cpp/app_templates/kofficepart/kopart_factory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.h b/languages/cpp/app_templates/kofficepart/kopart_factory.h index 58061af3..149b4b50 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_factory.h +++ b/languages/cpp/app_templates/kofficepart/kopart_factory.h @@ -14,11 +14,12 @@ class KAboutData; class %{APPNAME}Factory : public KoFactory { Q_OBJECT + TQ_OBJECT public: - %{APPNAME}Factory( TQObject* parent = 0, const char* name = 0 ); + %{APPNAME}Factory( TQObject* tqparent = 0, const char* name = 0 ); ~%{APPNAME}Factory(); - virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); + virtual KParts::Part *createPartObject( TQWidget *tqparentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() ); static KInstance* global(); |