summaryrefslogtreecommitdiffstats
path: root/libtdepim/tests/testdistrlist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:12:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:12:32 -0600
commit9a8a1e372f4f35ebdc75da2a2cddc06a77e44fc4 (patch)
treefd03284328d7fbf88ace3e6c4ebe86c6a2d28ba5 /libtdepim/tests/testdistrlist.cpp
parentf2a152bb4c76b5e29e782c5ecf49a2b44fdd87e5 (diff)
downloadtdepim-9a8a1e372f4f35ebdc75da2a2cddc06a77e44fc4.tar.gz
tdepim-9a8a1e372f4f35ebdc75da2a2cddc06a77e44fc4.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'libtdepim/tests/testdistrlist.cpp')
-rw-r--r--libtdepim/tests/testdistrlist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdepim/tests/testdistrlist.cpp b/libtdepim/tests/testdistrlist.cpp
index f588f9a93..f66647011 100644
--- a/libtdepim/tests/testdistrlist.cpp
+++ b/libtdepim/tests/testdistrlist.cpp
@@ -42,8 +42,8 @@ using KPIM::DistributionList;
int main(int argc, char *argv[])
{
// Use another directory than the real one, just to keep things clean
- // KDEHOME needs to be writable though, for a ksycoca database
- setenv( "KDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testdistrlist" ), true );
+ // TDEHOME needs to be writable though, for a ksycoca database
+ setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testdistrlist" ), true );
setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();
@@ -150,7 +150,7 @@ void TestDistrList::cleanup()
ab->clear();
KABC::StdAddressBook::close();
- TQString kdehome = TQFile::decodeName( getenv("KDEHOME") );
+ TQString kdehome = TQFile::decodeName( getenv("TDEHOME") );
KURL urlkdehome; urlkdehome.setPath( kdehome );
// don't use KIO::NetAccess here since it needs X
// KIO::NetAccess::del( urlkdehome, 0 )i;