summaryrefslogtreecommitdiffstats
path: root/src/basket_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/basket_part.cpp')
-rw-r--r--src/basket_part.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/basket_part.cpp b/src/basket_part.cpp
index 0ba1e50..7c51696 100644
--- a/src/basket_part.cpp
+++ b/src/basket_part.cpp
@@ -35,19 +35,19 @@
typedef KParts::GenericFactory< BasketPart > BasketFactory;
K_EXPORT_COMPONENT_FACTORY( libbasketpart, BasketFactory )
-BasketPart::BasketPart( QWidget *parentWidget, const char *,
- QObject *parent, const char *name, const QStringList & )
- : KParts::ReadWritePart(parent, name)
+BasketPart::BasketPart( TQWidget *tqparentWidget, const char *,
+ TQObject *tqparent, const char *name, const TQStringList & )
+ : KParts::ReadWritePart(tqparent, name)
{
// we need an instance
setInstance( BasketFactory::instance() );
BasketStatusBar* bar = new BasketStatusBar(new KParts::StatusBarExtension(this));
// this should be your custom internal widget
- m_view = new BNPView(parentWidget, "BNPViewPart", this, actionCollection(), bar);
- connect(m_view, SIGNAL(setWindowCaption(const QString &)), this, SLOT(setCaption(const QString &)));
- connect(m_view, SIGNAL(showPart()), this, SIGNAL(showPart()));
- m_view->setFocusPolicy(QWidget::ClickFocus);
+ m_view = new BNPView(tqparentWidget, "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);
// notify the part that this is our internal widget
setWidget(m_view);
@@ -73,7 +73,7 @@ void BasketPart::setReadWrite(bool rw)
void BasketPart::setModified(bool modified)
{
- // in any event, we want our parent to do it's thing
+ // in any event, we want our tqparent to do it's thing
ReadWritePart::setModified(modified);
}
@@ -94,7 +94,7 @@ KAboutData *BasketPart::createAboutData()
return new AboutData();
}
-void BasketPart::setCaption(const QString &caption)
+void BasketPart::setCaption(const TQString &caption)
{
emit setWindowCaption(caption);
}