diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 13:26:45 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 13:26:45 -0600 |
commit | 01c60a267846a8712bca34218ecf7da57566c049 (patch) | |
tree | e851781b4ff0487aad8a48739ac0061186343e49 /twin | |
parent | 5e5409d89552fa6839ab6cd52a47306eb4d650f0 (diff) | |
download | tdebase-01c60a267846a8712bca34218ecf7da57566c049.tar.gz tdebase-01c60a267846a8712bca34218ecf7da57566c049.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'twin')
-rw-r--r-- | twin/client.cpp | 4 | ||||
-rw-r--r-- | twin/clients/PORTING | 2 | ||||
-rw-r--r-- | twin/kcmtwin/twindecoration/twindecoration.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/twin/client.cpp b/twin/client.cpp index 4f5d618eb..3efe87f89 100644 --- a/twin/client.cpp +++ b/twin/client.cpp @@ -1829,7 +1829,7 @@ void Client::killProcess( bool ask, Time timestamp ) else { // SELI TODO handle the window created by handler specially (on top,urgent?) process_killer = new TDEProcess( this ); - *process_killer << KStandardDirs::findExe( "twin_killer_helper" ) + *process_killer << TDEStandardDirs::findExe( "twin_killer_helper" ) << "--pid" << TQCString().setNum( pid ) << "--hostname" << machine << "--windowname" << caption().utf8() << "--applicationname" << resourceClass() @@ -1958,7 +1958,7 @@ bool Client::queryUserSuspendedResume() } // FIXME We should display a busy cursor until twin_resumer_helper loads process_resumer = new TDEProcess( this ); - *process_resumer << KStandardDirs::findExe( "twin_resumer_helper" ) + *process_resumer << TDEStandardDirs::findExe( "twin_resumer_helper" ) << "--pid" << TQCString().setNum( info->pid() ) << "--hostname" << wmClientMachine( true ) << "--windowname" << caption().utf8() << "--applicationname" << resourceClass() diff --git a/twin/clients/PORTING b/twin/clients/PORTING index 398d81b9c..0c0c1a6ea 100644 --- a/twin/clients/PORTING +++ b/twin/clients/PORTING @@ -153,7 +153,7 @@ extern "C" (usually 'widget()->resize( s );' is enough). - Review mousePosition() if it's implemented. Position constants need 'Position' prepended, e.g. Top -> PositionTop. -- Note that you cannot use "appdata" with KStandardDirs, as the decoration will be used +- Note that you cannot use "appdata" with TDEStandardDirs, as the decoration will be used also in other applications than twin. - Implement all missing pure virtual functions. For mousePosition(), you may call KDecoration::mousePosition() if it's sufficient. diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp index 788a0d3e7..e533ad87f 100644 --- a/twin/kcmtwin/twindecoration/twindecoration.cpp +++ b/twin/kcmtwin/twindecoration/twindecoration.cpp @@ -465,7 +465,7 @@ void KWinDecorationModule::createThirdPartyWMList() if (descStart >= 0) { wmExecutable.truncate(descStart); } - if (KStandardDirs::findExe(wmExecutable) != TQString::null) { + if (TDEStandardDirs::findExe(wmExecutable) != TQString::null) { wmAvailableNames.append(*it); } } |