diff options
author | Timothy Pearson <[email protected]> | 2011-12-07 19:11:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-07 19:11:39 -0600 |
commit | 4f070eb987ea6e0dd71f6266835c14e8fcbeb18b (patch) | |
tree | 4127dd988254428d89cb510c2561f5aef48bec27 /kopete/libkopete | |
parent | 51b3545acc932a04b38988188b955eb9d35334a3 (diff) | |
download | tdenetwork-4f070eb987ea6e0dd71f6266835c14e8fcbeb18b.tar.gz tdenetwork-4f070eb987ea6e0dd71f6266835c14e8fcbeb18b.zip |
Rename KDEHOME and KDEDIR
Diffstat (limited to 'kopete/libkopete')
-rw-r--r-- | kopete/libkopete/tests/kopetecontactlist_test.cpp | 2 | ||||
-rw-r--r-- | kopete/libkopete/tests/kopeteemoticontest.cpp | 2 | ||||
-rw-r--r-- | kopete/libkopete/tests/kopetemessage_test.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kopete/libkopete/tests/kopetecontactlist_test.cpp b/kopete/libkopete/tests/kopetecontactlist_test.cpp index 933a67bb..3ac1b34a 100644 --- a/kopete/libkopete/tests/kopetecontactlist_test.cpp +++ b/kopete/libkopete/tests/kopetecontactlist_test.cpp @@ -34,7 +34,7 @@ void KopeteContactList_Test::allTests() void KopeteContactList_Test::testSomething() { // change user data dir to avoid messing with user's .kde dir - setenv( "KDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); + setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); TQString filename = locateLocal( "appdata", TQString::tqfromLatin1( "contactlist.xml" ) ); if( ! filename.isEmpty() ) diff --git a/kopete/libkopete/tests/kopeteemoticontest.cpp b/kopete/libkopete/tests/kopeteemoticontest.cpp index e8ada405..1f3fd436 100644 --- a/kopete/libkopete/tests/kopeteemoticontest.cpp +++ b/kopete/libkopete/tests/kopeteemoticontest.cpp @@ -51,7 +51,7 @@ KUNITTEST_MODULE_REGISTER_TESTER( KopeteEmoticonTest ); void KopeteEmoticonTest::allTests() { // change user data dir to avoid messing with user's .kde dir - setenv( "KDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); + setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); //KApplication::disableAutoDcopRegistration(); //KApplication app; diff --git a/kopete/libkopete/tests/kopetemessage_test.cpp b/kopete/libkopete/tests/kopetemessage_test.cpp index 5603b911..293da6b9 100644 --- a/kopete/libkopete/tests/kopetemessage_test.cpp +++ b/kopete/libkopete/tests/kopetemessage_test.cpp @@ -50,7 +50,7 @@ KUNITTEST_MODULE_REGISTER_TESTER( KopeteMessage_Test ); KopeteMessage_Test::KopeteMessage_Test() { // change user data dir to avoid messing with user's .kde dir - setenv( "KDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); + setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kopete-unittest" ), true ); // create fake objects needed to build a reasonable testeable message m_protocol = new Kopete::Test::Mock::Protocol( new KInstance(TQCString("test-kopete-message")), 0L, "test-kopete-message"); |