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 /kcminit | |
parent | 1a5b54f42c0218aef7def4bc2d5cbcc0ed6cfadd (diff) | |
download | tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.tar.gz tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kcminit')
-rw-r--r-- | kcminit/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcminit/main.cpp b/kcminit/main.cpp index 47dc60fe6..3a2d7c362 100644 --- a/kcminit/main.cpp +++ b/kcminit/main.cpp @@ -180,8 +180,8 @@ KCMInit::KCMInit( TDECmdLineArgs* args ) } - if ( !kapp->dcopClient()->isAttached() ) - kapp->dcopClient()->attach(); + if ( !tdeApp->dcopClient()->isAttached() ) + tdeApp->dcopClient()->attach(); // This key has no GUI apparently TDEConfig config("kcmdisplayrc", true ); @@ -194,13 +194,13 @@ KCMInit::KCMInit( TDECmdLineArgs* args ) TQByteArray params; TQDataStream stream(params, IO_WriteOnly); stream << name << value; - kapp->dcopClient()->send("tdelauncher", "tdelauncher", "setLaunchEnv(TQCString,TQCString)", params); + tdeApp->dcopClient()->send("tdelauncher", "tdelauncher", "setLaunchEnv(TQCString,TQCString)", params); setenv( name, value, 1 ); // apply effect also to itself if( startup ) { runModules( 0 ); - kapp->dcopClient()->send( "ksplash", "", "upAndRunning(TQString)", TQString("kcminit")); + tdeApp->dcopClient()->send( "ksplash", "", "upAndRunning(TQString)", TQString("kcminit")); sendReady(); TQTimer::singleShot( 300 * 1000, tqApp, TQ_SLOT( quit())); // just in case tqApp->exec(); // wait for runPhase1() and runPhase2() |