summaryrefslogtreecommitdiffstats
path: root/tdecore/twin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/twin.cpp')
-rw-r--r--tdecore/twin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/twin.cpp b/tdecore/twin.cpp
index 3871f3513..6e96b3b66 100644
--- a/tdecore/twin.cpp
+++ b/tdecore/twin.cpp
@@ -167,7 +167,7 @@ ContextWidget::ContextWidget()
: TQWidget(0,0)
{
twin_net_create_atoms();
- kapp->installX11EventFilter( this );
+ tdeApp->installX11EventFilter( this );
TQWhatsThis::enterWhatsThisMode();
TQCursor c = *TQApplication::overrideCursor();
TQWhatsThis::leaveWhatsThisMode();
@@ -241,7 +241,7 @@ void KWin::activateWindow( WId win, long time )
if( time == 0 )
time = get_tqt_x_user_time();
info.setActiveWindow( win, NET::FromApplication, time,
- kapp->activeWindow() ? kapp->activeWindow()->winId() : 0 );
+ tdeApp->activeWindow() ? tdeApp->activeWindow()->winId() : 0 );
#endif // TQ_WS_X11 ...
TDEUniqueApplication::setHandleAutoStarted();
}
@@ -312,9 +312,9 @@ void KWin::setMainWindow( TQWidget* subwindow, WId mainwindow )
*/
if( tqt_cast< TQDialog* >( subwindow ) != NULL
&& subwindow->parentWidget() == NULL
- && kapp->mainWidget() != NULL )
+ && tdeApp->mainWidget() != NULL )
{
- kdWarning() << "KWin::setMainWindow(): There either mustn't be kapp->mainWidget(),"
+ kdWarning() << "KWin::setMainWindow(): There either mustn't be tdeApp->mainWidget(),"
" or the dialog must have a non-NULL parent, otherwise Qt will reset the change. Bummer." << endl;
}
XSetTransientForHint( tqt_xdisplay(), subwindow->winId(), mainwindow );