summaryrefslogtreecommitdiffstats
path: root/libkcal/tests
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 /libkcal/tests
parentf2a152bb4c76b5e29e782c5ecf49a2b44fdd87e5 (diff)
downloadtdepim-9a8a1e372f4f35ebdc75da2a2cddc06a77e44fc4.tar.gz
tdepim-9a8a1e372f4f35ebdc75da2a2cddc06a77e44fc4.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'libkcal/tests')
-rw-r--r--libkcal/tests/data/resource_test_config2
-rw-r--r--libkcal/tests/testresource.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/libkcal/tests/data/resource_test_config b/libkcal/tests/data/resource_test_config
index 67f766fa6..a652f8273 100644
--- a/libkcal/tests/data/resource_test_config
+++ b/libkcal/tests/data/resource_test_config
@@ -1,5 +1,5 @@
[Resource_test_ical]
-CalendarURL=file:$KDEHOME/test.ics
+CalendarURL=file:$TDEHOME/test.ics
Format=ical
ResourceIdentifier=sUiQkXeIro
ResourceIsActive=true
diff --git a/libkcal/tests/testresource.cpp b/libkcal/tests/testresource.cpp
index 682518692..5779c47b5 100644
--- a/libkcal/tests/testresource.cpp
+++ b/libkcal/tests/testresource.cpp
@@ -55,8 +55,8 @@ static const KCmdLineOptions options[] =
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-testresource" ), true );
+ // TDEHOME needs to be writable though, for a ksycoca database
+ setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();