diff options
Diffstat (limited to 'kapptemplate')
-rw-r--r-- | kapptemplate/kpartapp/app_part.cpp | 4 | ||||
-rw-r--r-- | kapptemplate/kpartapp/app_part.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kapptemplate/kpartapp/app_part.cpp b/kapptemplate/kpartapp/app_part.cpp index 25bf0886..831e5f95 100644 --- a/kapptemplate/kpartapp/app_part.cpp +++ b/kapptemplate/kpartapp/app_part.cpp @@ -17,7 +17,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_part.cpp typedef KParts::GenericFactory<${APP_NAME}Part> ${APP_NAME}PartFactory; K_EXPORT_COMPONENT_FACTORY( lib${APP_NAME_LC}part, ${APP_NAME}PartFactory ) -${APP_NAME}Part::${APP_NAME}Part( TQWidget *tqparentWidget, const char *widgetName, +${APP_NAME}Part::${APP_NAME}Part( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList & /*args*/ ) : KParts::ReadWritePart(tqparent, name) @@ -26,7 +26,7 @@ ${APP_NAME}Part::${APP_NAME}Part( TQWidget *tqparentWidget, const char *widgetNa setInstance( ${APP_NAME}PartFactory::instance() ); // this should be your custom internal widget - m_widget = new TQMultiLineEdit( tqparentWidget, widgetName ); + m_widget = new TQMultiLineEdit( parentWidget, widgetName ); // notify the part that this is our internal widget setWidget(m_widget); diff --git a/kapptemplate/kpartapp/app_part.h b/kapptemplate/kpartapp/app_part.h index 908adaa3..72687a6d 100644 --- a/kapptemplate/kpartapp/app_part.h +++ b/kapptemplate/kpartapp/app_part.h @@ -27,7 +27,7 @@ public: /** * Default constructor */ - ${APP_NAME}Part(TQWidget *tqparentWidget, const char *widgetName, + ${APP_NAME}Part(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList &args); /** |