diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:46:07 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:46:07 -0500 |
commit | e256298e9d1d5f3f7fb5660f0ca33ea8489acd08 (patch) | |
tree | c1cb331fe9ebe18846c72c565342b82ce824877d /kio/tests | |
parent | 55c0d54a9863b438be2949a4629ec3fb0a307fe4 (diff) | |
download | tdelibs-e256298e9d1d5f3f7fb5660f0ca33ea8489acd08.tar.gz tdelibs-e256298e9d1d5f3f7fb5660f0ca33ea8489acd08.zip |
Fix references to user profile directory.
Diffstat (limited to 'kio/tests')
-rw-r--r-- | kio/tests/jobtest.cpp | 6 | ||||
-rw-r--r-- | kio/tests/kurifiltertest.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
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); } |