From 28edc0aa2ab09297288186f5bc15765eb7be58c0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:47:22 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kio/kioexec/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kio/kioexec') diff --git a/kio/kioexec/main.cpp b/kio/kioexec/main.cpp index 2a1494043..22c539a75 100644 --- a/kio/kioexec/main.cpp +++ b/kio/kioexec/main.cpp @@ -111,7 +111,7 @@ KIOExec::KIOExec() // Build the destination filename, in ~/.trinity/cache-*/krun/ // Unlike KDE-1.1, we put the filename at the end so that the extension is kept // (Some programs rely on it) - TQString tmp = KGlobal::dirs()->saveLocation( "cache", "krun/" ) + + TQString tmp = TDEGlobal::dirs()->saveLocation( "cache", "krun/" ) + TQString("%1.%2.%3").arg(getpid()).arg(jobCounter++).arg(fileName); fileInfo file; file.path = tmp; @@ -211,9 +211,9 @@ void KIOExec::slotRunApp() id.setupStartupEnv(); #endif - KProcess proc; + TDEProcess proc; proc << params; - proc.start( KProcess::Block ); + proc.start( TDEProcess::Block ); #ifdef Q_WS_X11 KStartupInfo::resetStartupEnv(); -- cgit v1.2.1