summaryrefslogtreecommitdiffstats
path: root/kded
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-08 17:42:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-08 17:42:48 -0600
commite81c741bb2cf337a43524e75f22f7728ce17a343 (patch)
tree7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kded
parent9c30c9c89ce69ed1b76ff47ca092c6bee7c8e43b (diff)
downloadtdelibs-e81c741bb2cf337a43524e75f22f7728ce17a343.tar.gz
tdelibs-e81c741bb2cf337a43524e75f22f7728ce17a343.zip
Rename additional KDE strings
Diffstat (limited to 'kded')
-rw-r--r--kded/kbuildsycoca.cpp2
-rw-r--r--kded/kded.cpp4
-rw-r--r--kded/khostname.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/kded/kbuildsycoca.cpp b/kded/kbuildsycoca.cpp
index 27d336386..da5059a92 100644
--- a/kded/kbuildsycoca.cpp
+++ b/kded/kbuildsycoca.cpp
@@ -733,7 +733,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
if (bGlobalDatabase)
{
setenv("TDEHOME", "-", 1);
- setenv("KDEROOTHOME", "-", 1);
+ setenv("TDEROOTHOME", "-", 1);
}
KApplication::disableAutoDcopRegistration();
diff --git a/kded/kded.cpp b/kded/kded.cpp
index 05964b0df..9114c57a2 100644
--- a/kded/kded.cpp
+++ b/kded/kded.cpp
@@ -158,11 +158,11 @@ void Kded::initModules()
KConfig *config = kapp->config();
bool kde_running = !( getenv( "TDE_FULL_SESSION" ) == NULL || getenv( "TDE_FULL_SESSION" )[ 0 ] == '\0' );
// not the same user like the one running the session (most likely we're run via sudo or something)
- if( getenv( "KDE_SESSION_UID" ) != NULL && uid_t( atoi( getenv( "KDE_SESSION_UID" ))) != getuid())
+ if( getenv( "TDE_SESSION_UID" ) != NULL && uid_t( atoi( getenv( "TDE_SESSION_UID" ))) != getuid())
kde_running = false;
// Preload kded modules.
KService::List kdedModules = KServiceType::offers("KDEDModule");
- TQString version = getenv( "KDE_SESSION_VERSION" );
+ TQString version = getenv( "TDE_SESSION_VERSION" );
TQStringList blacklist;
if ( version >= "4" )
{
diff --git a/kded/khostname.cpp b/kded/khostname.cpp
index 168ad0f56..e7b1cf209 100644
--- a/kded/khostname.cpp
+++ b/kded/khostname.cpp
@@ -299,8 +299,8 @@ void KHostName::changeDcop()
void KHostName::changeStdDirs(const TQCString &type)
{
// We make links to the old dirs cause we can't delete the old dirs.
- TQCString oldDir = TQFile::encodeName(TQString("%1%2-%3").arg(KGlobal::dirs()->localkdedir()).arg(type.data()).arg(oldName.data()));
- TQCString newDir = TQFile::encodeName(TQString("%1%2-%3").arg(KGlobal::dirs()->localkdedir()).arg(type.data()).arg(newName.data()));
+ TQCString oldDir = TQFile::encodeName(TQString("%1%2-%3").arg(KGlobal::dirs()->localtdedir()).arg(type.data()).arg(oldName.data()));
+ TQCString newDir = TQFile::encodeName(TQString("%1%2-%3").arg(KGlobal::dirs()->localtdedir()).arg(type.data()).arg(newName.data()));
KDE_struct_stat st_buf;