summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/kopetechatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/kopetechatwindow.cpp')
-rw-r--r--kopete/kopete/chatwindow/kopetechatwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/kopete/chatwindow/kopetechatwindow.cpp b/kopete/kopete/chatwindow/kopetechatwindow.cpp
index 20549de2..1de1cee7 100644
--- a/kopete/kopete/chatwindow/kopetechatwindow.cpp
+++ b/kopete/kopete/chatwindow/kopetechatwindow.cpp
@@ -219,7 +219,7 @@ KopeteChatWindow::KopeteChatWindow( TQWidget *parent, const char* name )
m_showFormatToolbar = TDEGlobal::config()->readBoolEntry( TQString::fromLatin1("Show Format Toolbar"), true );
adjustingFormatToolbar = false;
// kdDebug( 14010 ) << k_funcinfo << "Open Windows: " << windows.count() << endl;
- kapp->ref();
+ tdeApp->ref();
}
KopeteChatWindow::~KopeteChatWindow()
@@ -267,7 +267,7 @@ KopeteChatWindow::~KopeteChatWindow()
}
delete anim;
- kapp->deref();
+ tdeApp->deref();
}
void KopeteChatWindow::windowListChanged()
@@ -1155,7 +1155,7 @@ bool KopeteChatWindow::queryClose()
bool KopeteChatWindow::queryExit()
{
- KopeteApplication *app = static_cast<KopeteApplication *>( kapp );
+ KopeteApplication *app = static_cast<KopeteApplication *>( tdeApp );
if ( app->sessionSaving()
|| app->isShuttingDown() /* only set if KopeteApplication::quitKopete() or
KopeteApplication::commitData() called */
@@ -1173,7 +1173,7 @@ void KopeteChatWindow::closeEvent( TQCloseEvent * e )
{
// if there's a system tray applet and we are not shutting down then just do what needs to be done if a
// window is closed.
- KopeteApplication *app = static_cast<KopeteApplication *>( kapp );
+ KopeteApplication *app = static_cast<KopeteApplication *>( tdeApp );
if ( KopetePrefs::prefs()->showTray() && !app->isShuttingDown() && !app->sessionSaving() ) {
// hide();
// BEGIN of code borrowed from TDEMainWindow::closeEvent