From e256298e9d1d5f3f7fb5660f0ca33ea8489acd08 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 4 Nov 2012 01:46:07 -0500 Subject: Fix references to user profile directory. --- kio/tests/jobtest.cpp | 6 +++--- kio/tests/kurifiltertest.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kio/tests') diff --git a/kio/tests/jobtest.cpp b/kio/tests/jobtest.cpp index 3ed748d90..463c464d3 100644 --- a/kio/tests/jobtest.cpp +++ b/kio/tests/jobtest.cpp @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) TQString JobTest::homeTmpDir() const { - return TQDir::homeDirPath() + "/.kde/jobtest/"; + return TQDir::homeDirPath() + "/.trinity/jobtest/"; } TQString JobTest::otherTmpDir() const @@ -89,12 +89,12 @@ TQString JobTest::otherTmpDir() const KURL JobTest::systemTmpDir() const { - return "system:/home/.kde/jobtest-system/"; + return "system:/home/.trinity/jobtest-system/"; } TQString JobTest::realSystemPath() const { - return TQDir::homeDirPath() + "/.kde/jobtest-system/"; + return TQDir::homeDirPath() + "/.trinity/jobtest-system/"; } void JobTest::setup() diff --git a/kio/tests/kurifiltertest.cpp b/kio/tests/kurifiltertest.cpp index a1ebf2e46..7f448c541 100644 --- a/kio/tests/kurifiltertest.cpp +++ b/kio/tests/kurifiltertest.cpp @@ -155,7 +155,7 @@ int main(int argc, char **argv) { // Ensure that user configuration doesn't change the results of those tests // TDEHOME needs to be writable though, for a ksycoca database - setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-kurifiltertest" ), true ); + setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-kurifiltertest" ), true ); setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup KAboutData aboutData(appName, programName, version, description); @@ -297,10 +297,10 @@ int main(int argc, char **argv) filter( "$QTDIR/doc/html/functions.html#s", TQCString("file://")+qtdir+"/doc/html/functions.html#s", KURIFilterData::LOCAL_FILE ); filter( "http://www.kde.org/$USER", "http://www.kde.org/$USER", KURIFilterData::NET_PROTOCOL ); // no expansion - // Assume the default (~/.kde) if + // Assume the default (~/.trinity) if if (tdehome.isEmpty()) { - tdehome += "$HOME/.kde"; + tdehome += "$HOME/.trinity"; setenv("TDEHOME", tdehome.data(), 0); } -- cgit v1.2.1