diff options
Diffstat (limited to 'src/basket_part.cpp')
-rw-r--r-- | src/basket_part.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basket_part.cpp b/src/basket_part.cpp index 7c51696..c3f1c8b 100644 --- a/src/basket_part.cpp +++ b/src/basket_part.cpp @@ -35,7 +35,7 @@ typedef KParts::GenericFactory< BasketPart > BasketFactory; K_EXPORT_COMPONENT_FACTORY( libbasketpart, BasketFactory ) -BasketPart::BasketPart( TQWidget *tqparentWidget, const char *, +BasketPart::BasketPart( TQWidget *parentWidget, const char *, TQObject *tqparent, const char *name, const TQStringList & ) : KParts::ReadWritePart(tqparent, name) { @@ -44,7 +44,7 @@ BasketPart::BasketPart( TQWidget *tqparentWidget, const char *, BasketStatusBar* bar = new BasketStatusBar(new KParts::StatusBarExtension(this)); // this should be your custom internal widget - m_view = new BNPView(tqparentWidget, "BNPViewPart", this, actionCollection(), bar); + m_view = new BNPView(parentWidget, "BNPViewPart", this, actionCollection(), bar); connect(m_view, TQT_SIGNAL(setWindowCaption(const TQString &)), this, TQT_SLOT(setCaption(const TQString &))); connect(m_view, TQT_SIGNAL(showPart()), this, TQT_SIGNAL(showPart())); m_view->setFocusPolicy(TQ_ClickFocus); |