diff options
Diffstat (limited to 'kommander/part')
-rw-r--r-- | kommander/part/kommander_part.cpp | 4 | ||||
-rw-r--r-- | kommander/part/kommander_part.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kommander/part/kommander_part.cpp b/kommander/part/kommander_part.cpp index 58912dd9..1d9a1393 100644 --- a/kommander/part/kommander_part.cpp +++ b/kommander/part/kommander_part.cpp @@ -33,13 +33,13 @@ typedef KParts::GenericFactory<KommanderPart> KommanderPartFactory; K_EXPORT_COMPONENT_FACTORY( libkommander_part, KommanderPartFactory ) -KommanderPart::KommanderPart( TQWidget *tqparentWidget, const char * /*widgetName*/, +KommanderPart::KommanderPart( TQWidget *parentWidget, const char * /*widgetName*/, TQObject *tqparent, const char *name, const TQStringList & /*args*/ ) : KParts::ReadOnlyPart(tqparent, name) { setInstance( KommanderPartFactory::instance() ); m_instance = 0L; - m_widget = new TQWidget(tqparentWidget); + m_widget = new TQWidget(parentWidget); setWidget(m_widget); m_layout = new TQGridLayout(m_widget); } diff --git a/kommander/part/kommander_part.h b/kommander/part/kommander_part.h index 5e9fc4f5..9000195c 100644 --- a/kommander/part/kommander_part.h +++ b/kommander/part/kommander_part.h @@ -26,7 +26,7 @@ class KommanderPart : public KParts::ReadOnlyPart Q_OBJECT TQ_OBJECT public: - KommanderPart(TQWidget *tqparentWidget, const char *widgetName, + KommanderPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList &args); virtual ~KommanderPart(); |