summaryrefslogtreecommitdiffstats
path: root/tdecore/tdestartupinfo.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-13 23:01:29 +0900
committerMichele Calgaro <[email protected]>2025-02-03 21:32:19 +0900
commit0b81a0c481a3a64d5449171a534bc8c91ae73181 (patch)
tree95cd236e86e934f492b4a4a1bd44bcf434a91ab2 /tdecore/tdestartupinfo.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 <[email protected]>
Diffstat (limited to 'tdecore/tdestartupinfo.cpp')
-rw-r--r--tdecore/tdestartupinfo.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdecore/tdestartupinfo.cpp b/tdecore/tdestartupinfo.cpp
index 22f2b0bc6..e34964c25 100644
--- a/tdecore/tdestartupinfo.cpp
+++ b/tdecore/tdestartupinfo.cpp
@@ -124,9 +124,9 @@ TDEStartupInfo::TDEStartupInfo( bool clean_on_cantdetect_P, TQObject* parent_P,
void TDEStartupInfo::init( int flags_P )
{
// d == NULL means "disabled"
- if( !TDEApplication::kApplication())
+ if( !tdeApp)
return;
- if( !TDEApplication::kApplication()->getDisplay())
+ if( !tdeApp->getDisplay())
return;
d = new TDEStartupInfoPrivate( flags_P );
@@ -183,7 +183,7 @@ class DelayedWindowEvent
void TDEStartupInfo::slot_window_added( WId w_P )
{
- kapp->postEvent( this, new DelayedWindowEvent( w_P ));
+ tdeApp->postEvent( this, new DelayedWindowEvent( w_P ));
}
void TDEStartupInfo::customEvent( TQCustomEvent* e_P )
@@ -489,8 +489,8 @@ bool TDEStartupInfo::sendFinishX( Display* disp_P, const TDEStartupInfoId& id_P,
void TDEStartupInfo::appStarted()
{
- if( kapp != NULL ) // TDEApplication constructor unsets the env. variable
- appStarted( kapp->startupId());
+ if( tdeApp != NULL ) // TDEApplication constructor unsets the env. variable
+ appStarted( tdeApp->startupId());
else
appStarted( TDEStartupInfo::currentStartupIdEnv().id());
}
@@ -501,7 +501,7 @@ void TDEStartupInfo::appStarted( const TQCString& startup_id )
id.initId( startup_id );
if( id.none())
return;
- if( kapp != NULL )
+ if( tdeApp != NULL )
TDEStartupInfo::sendFinish( id );
else if( getenv( "DISPLAY" ) != NULL ) // don't rely on tqt_xdisplay()
{
@@ -524,7 +524,7 @@ void TDEStartupInfo::disableAutoAppStartedSending( bool disable )
void TDEStartupInfo::silenceStartup( bool silence )
{
TDEStartupInfoId id;
- id.initId( kapp->startupId());
+ id.initId( tdeApp->startupId());
if( id.none())
return;
TDEStartupInfoData data;
@@ -541,7 +541,7 @@ void TDEStartupInfo::handleAutoAppStartedSending()
void TDEStartupInfo::setNewStartupId( TQWidget* window, const TQCString& startup_id )
{
bool activate = true;
- kapp->setStartupId( startup_id );
+ tdeApp->setStartupId( startup_id );
if( window != NULL )
{
if( !startup_id.isEmpty() && startup_id != "0" )