From 79b21d47bce1ee428affc97534cd8b257232a871 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:43:14 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kappfinder/common.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kappfinder/common.cpp') diff --git a/kappfinder/common.cpp b/kappfinder/common.cpp index 71ae2319e..9fb00f9df 100644 --- a/kappfinder/common.cpp +++ b/kappfinder/common.cpp @@ -55,7 +55,7 @@ bool scanDesktopFile( TQPtrList &appCache, const TQString &templ, // find out where to put the .desktop files TQString destName; if ( destDir.isNull() ) - destDir = KGlobal::dirs()->saveLocation( "apps" ); + destDir = TDEGlobal::dirs()->saveLocation( "apps" ); else destDir += "/"; @@ -82,7 +82,7 @@ bool scanDesktopFile( TQPtrList &appCache, const TQString &templ, exec = exec.left( pos ); // try to locate the binary - TQString pexec = KGlobal::dirs()->findExe( exec, + TQString pexec = TDEGlobal::dirs()->findExe( exec, TQString( ::getenv( "PATH" ) ) + ":/usr/X11R6/bin:/usr/games" ); if ( pexec.isEmpty() ) { kdDebug(DBG_CODE) << "looking for " << exec.local8Bit() @@ -134,11 +134,11 @@ void decorateDirs( TQString destDir ) { // find out where to put the .directory files if ( destDir.isNull() ) - destDir = KGlobal::dirs()->saveLocation( "apps" ); + destDir = TDEGlobal::dirs()->saveLocation( "apps" ); else destDir += "/"; - TQStringList dirs = KGlobal::dirs()->findAllResources( "data", "kappfinder/apps/*.directory", true ); + TQStringList dirs = TDEGlobal::dirs()->findAllResources( "data", "kappfinder/apps/*.directory", true ); TQStringList::Iterator it; for ( it = dirs.begin(); it != dirs.end(); ++it ) { -- cgit v1.2.1