From 01c60a267846a8712bca34218ecf7da57566c049 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:26:45 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- twin/client.cpp | 4 ++-- twin/clients/PORTING | 2 +- twin/kcmtwin/twindecoration/twindecoration.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'twin') 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); } } -- cgit v1.2.3