diff options
Diffstat (limited to 'kuiviewer')
-rw-r--r-- | kuiviewer/kuiviewer_part.cpp | 4 | ||||
-rw-r--r-- | kuiviewer/kuiviewer_part.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kuiviewer/kuiviewer_part.cpp b/kuiviewer/kuiviewer_part.cpp index 2ff58821..16f23292 100644 --- a/kuiviewer/kuiviewer_part.cpp +++ b/kuiviewer/kuiviewer_part.cpp @@ -51,7 +51,7 @@ typedef KParts::GenericFactory<KUIViewerPart> KUIViewerPartFactory; K_EXPORT_COMPONENT_FACTORY( libkuiviewerpart, KUIViewerPartFactory ) -KUIViewerPart::KUIViewerPart( TQWidget *tqparentWidget, const char *widgetName, +KUIViewerPart::KUIViewerPart( TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList & /*args*/ ) : KParts::ReadOnlyPart(tqparent, name) @@ -62,7 +62,7 @@ KUIViewerPart::KUIViewerPart( TQWidget *tqparentWidget, const char *widgetName, KGlobal::locale()->insertCatalogue("kuiviewer"); // this should be your custom internal widget - m_widget = new TQVBox( tqparentWidget, widgetName ); + m_widget = new TQVBox( parentWidget, widgetName ); // notify the part that this is our internal widget setWidget(m_widget); diff --git a/kuiviewer/kuiviewer_part.h b/kuiviewer/kuiviewer_part.h index 09a2a882..1d19afad 100644 --- a/kuiviewer/kuiviewer_part.h +++ b/kuiviewer/kuiviewer_part.h @@ -48,7 +48,7 @@ public: /** * Default constructor */ - KUIViewerPart(TQWidget *tqparentWidget, const char *widgetName, + KUIViewerPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList &args); /** |