summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeaccel.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-13 23:01:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:32:19 +0900
commit0b81a0c481a3a64d5449171a534bc8c91ae73181 (patch)
tree95cd236e86e934f492b4a4a1bd44bcf434a91ab2 /tdecore/tdeaccel.cpp
parent180ceca8bb26bbe97f60c99e5d172eb8ccd66e6d (diff)
downloadtdelibs-0b81a0c481a3a64d5449171a534bc8c91ae73181.tar.gz
tdelibs-0b81a0c481a3a64d5449171a534bc8c91ae73181.zip
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecore/tdeaccel.cpp')
-rw-r--r--tdecore/tdeaccel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/tdeaccel.cpp b/tdecore/tdeaccel.cpp
index 5d098e4d4..5796bf060 100644
--- a/tdecore/tdeaccel.cpp
+++ b/tdecore/tdeaccel.cpp
@@ -110,8 +110,8 @@ TDEAccelEventHandler::TDEAccelEventHandler()
: TQWidget( 0, "TDEAccelEventHandler" )
{
# ifdef TQ_WS_X11
- if ( kapp )
- kapp->installX11EventFilter( this );
+ if ( tdeApp )
+ tdeApp->installX11EventFilter( this );
# endif
}
@@ -120,10 +120,10 @@ bool tqt_try_modal( TQWidget *, XEvent * );
bool TDEAccelEventHandler::x11Event( XEvent* pEvent )
{
- if( TQWidget::keyboardGrabber() || !kapp->focusWidget() )
+ if( TQWidget::keyboardGrabber() || !tdeApp->focusWidget() )
return false;
- if ( !tqt_try_modal(kapp->focusWidget(), pEvent) )
+ if ( !tqt_try_modal(tdeApp->focusWidget(), pEvent) )
return false;
if( pEvent->type == XKeyPress ) {
@@ -144,7 +144,7 @@ bool TDEAccelEventHandler::x11Event( XEvent* pEvent )
ke.ignore();
g_bAccelActivated = false;
- kapp->sendEvent( kapp->focusWidget(), &ke );
+ tdeApp->sendEvent( tdeApp->focusWidget(), &ke );
// If the Override event was accepted from a non-TDEAccel widget,
// then kill the next AccelOverride in TDEApplication::notify.