diff options
Diffstat (limited to 'kmail/kmail_part.cpp')
-rw-r--r-- | kmail/kmail_part.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmail_part.cpp b/kmail/kmail_part.cpp index 22d48f1ee..cb40bc30a 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 *parentWidget, const char *widgetName, +KMailPart::KMailPart(TQWidget *tqparentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList &) : DCOPObject("KMailIface"), KParts::ReadOnlyPart(parent, name), - mParentWidget( parentWidget ) + mParentWidget( tqparentWidget ) { kdDebug(5006) << "KMailPart()" << endl; kdDebug(5006) << " InstanceName: " << kapp->instanceName() << endl; @@ -99,7 +99,7 @@ KMailPart::KMailPart(TQWidget *parentWidget, const char *widgetName, kapp->dcopClient()->resume(); // Ok. We are ready for DCOP requests. // create a canvas to insert our widget - TQWidget *canvas = new TQWidget(parentWidget, widgetName); + TQWidget *canvas = new TQWidget(tqparentWidget, widgetName); canvas->setFocusPolicy(TQWidget::ClickFocus); setWidget(canvas); KGlobal::iconLoader()->addAppDir("kmail"); @@ -223,7 +223,7 @@ void KMailPart::guiActivateEvent(KParts::GUIActivateEvent *e) mainWidget->initializeFilterActions(); mainWidget->initializeFolderShortcutActions(); mainWidget->setupForwardingActionsList(); - mainWidget->updateVactionScriptStatus(); + mainWidget->updateVactionScripStatus(); } void KMailPart::exit() @@ -231,7 +231,7 @@ void KMailPart::exit() delete this; } -TQWidget* KMailPart::parentWidget() const +TQWidget* KMailPart::tqparentWidget() const { return mParentWidget; } @@ -244,7 +244,7 @@ KMailStatusBarExtension::KMailStatusBarExtension( KMailPart *parent ) KMainWindow * KMailStatusBarExtension::mainWindow() const { - return static_cast<KMainWindow*>( mParent->parentWidget() ); + return static_cast<KMainWindow*>( mParent->tqparentWidget() ); } #include "kmail_part.moc" |