diff options
Diffstat (limited to 'kmail/kmail_part.cpp')
-rw-r--r-- | kmail/kmail_part.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmail_part.cpp b/kmail/kmail_part.cpp index 1b7a508f0..63a6df14e 100644 --- a/kmail/kmail_part.cpp +++ b/kmail/kmail_part.cpp @@ -60,10 +60,10 @@ using KRecentAddress::RecentAddresses; typedef KParts::GenericFactory< KMailPart > KMailFactory; K_EXPORT_COMPONENT_FACTORY( libkmailpart, KMailFactory ) -KMailPart::KMailPart(TQWidget *tqparentWidget, const char *widgetName, +KMailPart::KMailPart(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList &) : DCOPObject("KMailIface"), KParts::ReadOnlyPart(tqparent, name), - mParentWidget( tqparentWidget ) + mParentWidget( parentWidget ) { kdDebug(5006) << "KMailPart()" << endl; kdDebug(5006) << " InstanceName: " << kapp->instanceName() << endl; @@ -99,7 +99,7 @@ KMailPart::KMailPart(TQWidget *tqparentWidget, const char *widgetName, kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests. // create a canvas to insert our widget - TQWidget *canvas = new TQWidget(tqparentWidget, widgetName); + TQWidget *canvas = new TQWidget(parentWidget, widgetName); canvas->setFocusPolicy(TQ_ClickFocus); setWidget(canvas); KGlobal::iconLoader()->addAppDir("kmail"); @@ -231,7 +231,7 @@ void KMailPart::exit() delete this; } -TQWidget* KMailPart::tqparentWidget() const +TQWidget* KMailPart::parentWidget() const { return mParentWidget; } @@ -244,7 +244,7 @@ KMailStatusBarExtension::KMailStatusBarExtension( KMailPart *tqparent ) KMainWindow * KMailStatusBarExtension::mainWindow() const { - return static_cast<KMainWindow*>( mParent->tqparentWidget() ); + return static_cast<KMainWindow*>( mParent->parentWidget() ); } #include "kmail_part.moc" |