Rename straggling environment variables KDE->TDE.

pull/2/head
Darrell Anderson 12 years ago
parent 8c5bbc4bd9
commit f62ebdf09e

@ -65,7 +65,7 @@ int main( int argc, char* argv[] )
exit (255); exit (255);
// Make sure that DrKonqi doesn't start DrKonqi when it crashes :-] // Make sure that DrKonqi doesn't start DrKonqi when it crashes :-]
setenv("KDE_DEBUG", "true", 1); setenv("TDE_DEBUG", "true", 1);
unsetenv("SESSION_MANAGER"); unsetenv("SESSION_MANAGER");
KAboutData aboutData( "drkonqi", KAboutData aboutData( "drkonqi",

@ -358,10 +358,10 @@ main(int argc, char **argv)
#ifdef ACCEPT_ENV #ifdef ACCEPT_ENV
# ifdef HAVE_PAM # ifdef HAVE_PAM
if ((p = getenv("KDE_PAM_ACTION"))) if ((p = getenv("TDE_PAM_ACTION")))
caller = p; caller = p;
# endif # endif
if ((p = getenv("KCHECKPASS_USER"))) if ((p = getenv("TCHECKPASS_USER")))
username = p; username = p;
#endif #endif

@ -101,7 +101,7 @@ static void signalHandler(int sigId)
void KDesktop::slotUpAndRunning() void KDesktop::slotUpAndRunning()
{ {
// Activate crash recovery // Activate crash recovery
if (getenv("KDE_DEBUG") == NULL) if (getenv("TDE_DEBUG") == NULL)
KCrash::setEmergencySaveFunction(crashHandler); // Try to restart on crash KCrash::setEmergencySaveFunction(crashHandler); // Try to restart on crash
} }

@ -18,7 +18,7 @@ that slaves for a certain protocol are started in debug mode.
E.g. to start all 'http' slaves in debug mode, you type: E.g. to start all 'http' slaves in debug mode, you type:
KDE_SLAVE_DEBUG_WAIT=http tdeinit TDE_SLAVE_DEBUG_WAIT=http tdeinit
This will restart 'tdeinit' and 'klauncher'. This will restart 'tdeinit' and 'klauncher'.
@ -51,13 +51,13 @@ Debugging io-slaves with valgrind
KLauncher can be told to run certain io-slaves through valgrind. The following KLauncher can be told to run certain io-slaves through valgrind. The following
command can be used to let klauncher run all https io-slaves via valgrind: command can be used to let klauncher run all https io-slaves via valgrind:
KDE_SLAVE_VALGRIND=https tdeinit TDE_SLAVE_VALGRIND=https tdeinit
The valgrind output will appear as the stderr output of the tdeinit process. The valgrind output will appear as the stderr output of the tdeinit process.
The $VALGRIND_OPTS environment variable can be used to pass options to valgrind. The $VALGRIND_OPTS environment variable can be used to pass options to valgrind.
If you want to use a different skin: If you want to use a different skin:
KDE_SLAVE_VALGRIND_SKIN=calltree ( for example ) TDE_SLAVE_VALGRIND_SKIN=calltree ( for example )
How to get debug output How to get debug output

@ -73,14 +73,14 @@ int main(int argc, char *argv[])
// However this assume your $HOME doesn't use characters from other locales... // However this assume your $HOME doesn't use characters from other locales...
setenv( "LC_ALL", "en_GB.ISO-8859-1", 1 ); setenv( "LC_ALL", "en_GB.ISO-8859-1", 1 );
#ifdef UTF8TEST #ifdef UTF8TEST
setenv( "KDE_UTF8_FILENAMES", "true", 1 ); setenv( "TDE_UTF8_FILENAMES", "true", 1 );
#else #else
unsetenv( "KDE_UTF8_FILENAMES" ); unsetenv( "TDE_UTF8_FILENAMES" );
#endif #endif
// Use another directory than the real one, just to keep things clean // Use another directory than the real one, just to keep things clean
setenv( "XDG_DATA_HOME", TQFile::encodeName( TQDir::homeDirPath() + "/.local-testtrash" ), true ); setenv( "XDG_DATA_HOME", TQFile::encodeName( TQDir::homeDirPath() + "/.local-testtrash" ), true );
setenv( "KDE_FORK_SLAVES", "yes", true ); setenv( "TDE_FORK_SLAVES", "yes", true );
KApplication::disableAutoDcopRegistration(); KApplication::disableAutoDcopRegistration();
KCmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0, 0); KCmdLineArgs::init(argc,argv,"testtrash", 0, 0, 0, 0);

@ -70,7 +70,7 @@ void sanity_check( int argc, char* argv[] )
{ {
TQCString msg; TQCString msg;
TQCString path = getenv("HOME"); TQCString path = getenv("HOME");
TQCString readOnly = getenv("KDE_HOME_READONLY"); TQCString readOnly = getenv("TDE_HOME_READONLY");
if (path.isEmpty()) if (path.isEmpty())
{ {
msg = "$HOME not set!"; msg = "$HOME not set!";

@ -302,7 +302,7 @@ static int startApp()
if (!new_dcop) if (!new_dcop)
{ {
TQCString ksycoca = "KDESYCOCA="+TQFile::encodeName(locateLocal("cache", "ksycoca")); TQCString ksycoca = "TDESYCOCA="+TQFile::encodeName(locateLocal("cache", "ksycoca"));
env << ksycoca; env << ksycoca;
options += "xf"; // X-only, dcop forwarding enabled. options += "xf"; // X-only, dcop forwarding enabled.

@ -41,9 +41,9 @@ bool TQKDEIntegration::enabled()
static TQCString findLibrary() static TQCString findLibrary()
{ {
if( getenv( "KDE_FULL_SESSION" ) == NULL ) if( getenv( "TDE_FULL_SESSION" ) == NULL )
return ""; return "";
if( getenv( "KDE_FULL_SESSION" )[ 0 ] != 't' && getenv( "KDE_FULL_SESSION" )[ 0 ] != '1' ) if( getenv( "TDE_FULL_SESSION" )[ 0 ] != 't' && getenv( "TDE_FULL_SESSION" )[ 0 ] != '1' )
return ""; return "";
if( getenv( "TQT_NO_KDE_INTEGRATION" ) == NULL if( getenv( "TQT_NO_KDE_INTEGRATION" ) == NULL
|| getenv( "TQT_NO_KDE_INTEGRATION" )[ 0 ] == '0' ) || getenv( "TQT_NO_KDE_INTEGRATION" )[ 0 ] == '0' )

Loading…
Cancel
Save