summaryrefslogtreecommitdiffstats
path: root/kmail/kmmainwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmainwin.cpp')
-rw-r--r--kmail/kmmainwin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmmainwin.cpp b/kmail/kmmainwin.cpp
index 21879c55e..fb2b28b27 100644
--- a/kmail/kmmainwin.cpp
+++ b/kmail/kmmainwin.cpp
@@ -36,10 +36,10 @@ KMMainWin::KMMainWin(TQWidget *)
kapp->ref();
(void) new KAction( i18n("New &Window"), "window_new", 0,
- this, TQT_SLOT(slotNewMailReader()),
+ TQT_TQOBJECT(this), TQT_SLOT(slotNewMailReader()),
actionCollection(), "new_mail_client" );
- mKMMainWidget = new KMMainWidget( this, "KMMainWidget", this, actionCollection() );
+ mKMMainWidget = new KMMainWidget( TQT_TQWIDGET(this), "KMMainWidget", this, actionCollection() );
mKMMainWidget->resize( 450, 600 );
setCentralWidget(mKMMainWidget);
setupStatusBar();
@@ -51,13 +51,13 @@ KMMainWin::KMMainWin(TQWidget *)
setStandardToolBarMenuEnabled(true);
- KStdAction::configureToolbars(this, TQT_SLOT(slotEditToolbars()),
+ KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(slotEditToolbars()),
actionCollection());
- KStdAction::keyBindings(mKMMainWidget, TQT_SLOT(slotEditKeys()),
+ KStdAction::keyBindings(TQT_TQOBJECT(mKMMainWidget), TQT_SLOT(slotEditKeys()),
actionCollection());
- KStdAction::quit( this, TQT_SLOT(slotQuit()), actionCollection());
+ KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actionCollection());
createGUI( "kmmainwin.rc", false );
// Don't use conserveMemory() because this renders dynamic plugging
// of actions unusable!
@@ -96,7 +96,7 @@ KMMainWin::~KMMainWin()
if ( !it.current()->isHidden() &&
it.current()->isTopLevel() &&
it.current() != this &&
- ::qt_cast<KMMainWin *>( it.current() )
+ ::tqqt_cast<KMMainWin *>( it.current() )
)
not_withdrawn++;
}