diff options
Diffstat (limited to 'languages/cpp/app_templates/kofficepart/kopart_part.cpp')
-rw-r--r-- | languages/cpp/app_templates/kofficepart/kopart_part.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kofficepart/kopart_part.cpp b/languages/cpp/app_templates/kofficepart/kopart_part.cpp index fe8c0cca..a1196404 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_part.cpp +++ b/languages/cpp/app_templates/kofficepart/kopart_part.cpp @@ -8,8 +8,8 @@ #include <tqpainter.h> -%{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, bool singleViewMode ) - : KoDocument( parentWidget, widgetName, tqparent, name, singleViewMode ) +%{APPNAME}Part::%{APPNAME}Part( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, bool singleViewMode ) + : KoDocument( parentWidget, widgetName, parent, name, singleViewMode ) { } @@ -19,9 +19,9 @@ bool %{APPNAME}Part::initDoc( InitDocFlags flags, TQWidget* parentWidget ) return TRUE; } -KoView* %{APPNAME}Part::createViewInstance( TQWidget* tqparent, const char* name ) +KoView* %{APPNAME}Part::createViewInstance( TQWidget* parent, const char* name ) { - return new %{APPNAME}View( this, tqparent, name ); + return new %{APPNAME}View( this, parent, name ); } bool %{APPNAME}Part::loadOasis( const TQDomDocument & doc, KoOasisStyles& oasisStyles, const TQDomDocument & settings, KoStore* store ) |