summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kpartapp/app_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kpartapp/app_part.cpp')
-rw-r--r--kapptemplate/kpartapp/app_part.cpp4
1 files changed, 2 insertions, 2 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);