diff options
Diffstat (limited to 'kapptemplate/kpartapp/app_part.cpp')
-rw-r--r-- | kapptemplate/kpartapp/app_part.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kapptemplate/kpartapp/app_part.cpp b/kapptemplate/kpartapp/app_part.cpp index 831e5f95..adbda9db 100644 --- a/kapptemplate/kpartapp/app_part.cpp +++ b/kapptemplate/kpartapp/app_part.cpp @@ -18,9 +18,9 @@ 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 *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const TQStringList & /*args*/ ) - : KParts::ReadWritePart(tqparent, name) + : KParts::ReadWritePart(parent, name) { // we need an instance setInstance( ${APP_NAME}PartFactory::instance() ); @@ -79,7 +79,7 @@ void ${APP_NAME}Part::setModified(bool modified) else save->setEnabled(false); - // in any event, we want our tqparent to do it's thing + // in any event, we want our parent to do it's thing ReadWritePart::setModified(modified); } |