diff options
author | Michele Calgaro <[email protected]> | 2025-01-14 15:08:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 21:34:30 +0900 |
commit | 834496cf73084adeb3959b6e2c11f104955bb69a (patch) | |
tree | 4e9221c9c4bcaa2c2681f3e255b0c771379c379c /ksplashml/themeengine/standard/wndicon.cpp | |
parent | 1a5b54f42c0218aef7def4bc2d5cbcc0ed6cfadd (diff) | |
download | tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.tar.gz tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksplashml/themeengine/standard/wndicon.cpp')
-rw-r--r-- | ksplashml/themeengine/standard/wndicon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksplashml/themeengine/standard/wndicon.cpp b/ksplashml/themeengine/standard/wndicon.cpp index c6c16170c..9f12a5aed 100644 --- a/ksplashml/themeengine/standard/wndicon.cpp +++ b/ksplashml/themeengine/standard/wndicon.cpp @@ -65,7 +65,7 @@ WndIcon::WndIcon( TQPoint p = determinePosition(); mGroundX = mPosX = p.x(); mGroundY = mPosY = p.y(); - move( p + kapp->desktop()->screenGeometry( mXineramaScreen ).topLeft() ); + move( p + tdeApp->desktop()->screenGeometry( mXineramaScreen ).topLeft() ); if( mIconJumping ) { @@ -98,7 +98,7 @@ TQPoint WndIcon::determinePosition() int DW, DH, SBH, wid, X, Y, x, y, nSlot, topshift, bottomshift; bottomshift = topshift = 0; - const TQRect srect = kapp->desktop()->screenGeometry( mXineramaScreen ); + const TQRect srect = tdeApp->desktop()->screenGeometry( mXineramaScreen ); // TDEGlobalSettings::splashScreenDesktopGeometry(); cannot be used here. DW = srect.width(); DH = srect.height(); @@ -301,7 +301,7 @@ void WndIcon::slotJump() mPosY = (int)((float)mPosY - mVelocity ); break; } - move( TQPoint( mPosX, mPosY ) + kapp->desktop()->screenGeometry( mXineramaScreen ).topLeft() ); + move( TQPoint( mPosX, mPosY ) + tdeApp->desktop()->screenGeometry( mXineramaScreen ).topLeft() ); } void WndIcon::slotStopJumping() |