diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
commit | 56160bf4dfe503631ef6373367b281f081bab2b4 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kwallet | |
parent | 13281e2856a2ef43bbab78c5528470309c23aa77 (diff) | |
download | tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'kwallet')
-rw-r--r-- | kwallet/backend/kwalletbackend.cc | 2 | ||||
-rw-r--r-- | kwallet/backend/kwalletbackend.h | 2 | ||||
-rw-r--r-- | kwallet/tests/kwalletasync.cpp | 2 | ||||
-rw-r--r-- | kwallet/tests/kwalletboth.cpp | 2 | ||||
-rw-r--r-- | kwallet/tests/kwalletsync.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/kwallet/backend/kwalletbackend.cc b/kwallet/backend/kwalletbackend.cc index 59b7dda2e..bf67ba854 100644 --- a/kwallet/backend/kwalletbackend.cc +++ b/kwallet/backend/kwalletbackend.cc @@ -422,7 +422,7 @@ int Backend::open(const TQByteArray& password) { // compare hashes int sz = encrypted.size(); for (int i = 0; i < 20; i++) { - if (testhash[i] != static_cast<const char>(encrypted.at(sz - 20 + i))) { + if (testhash[i] != static_cast<const char>(encrypted.tqat(sz - 20 + i))) { encrypted.fill(0); sha.reset(); return -8; // hash error. diff --git a/kwallet/backend/kwalletbackend.h b/kwallet/backend/kwalletbackend.h index f43f56ec8..59df303d6 100644 --- a/kwallet/backend/kwalletbackend.h +++ b/kwallet/backend/kwalletbackend.h @@ -143,7 +143,7 @@ class MD5Digest : public TQByteArray { char x, y; for (; i < 16; ++i) { x = at(i); - y = const_cast<MD5Digest&>(r).at(i); + y = const_cast<MD5Digest&>(r).tqat(i); if (x != y) { break; } diff --git a/kwallet/tests/kwalletasync.cpp b/kwallet/tests/kwalletasync.cpp index 162e1f3f9..072fb55f8 100644 --- a/kwallet/tests/kwalletasync.cpp +++ b/kwallet/tests/kwalletasync.cpp @@ -1,4 +1,4 @@ -#include <textstream.h> +#include <tqtextstream.h> #include <tqtimer.h> #include <kaboutdata.h> diff --git a/kwallet/tests/kwalletboth.cpp b/kwallet/tests/kwalletboth.cpp index 45b02d2d7..75d303419 100644 --- a/kwallet/tests/kwalletboth.cpp +++ b/kwallet/tests/kwalletboth.cpp @@ -1,4 +1,4 @@ -#include <textstream.h> +#include <tqtextstream.h> #include <tqtimer.h> #include <kaboutdata.h> diff --git a/kwallet/tests/kwalletsync.cpp b/kwallet/tests/kwalletsync.cpp index ef03d708a..3625a5cb6 100644 --- a/kwallet/tests/kwalletsync.cpp +++ b/kwallet/tests/kwalletsync.cpp @@ -1,4 +1,4 @@ -#include <textstream.h> +#include <tqtextstream.h> #include <tqtimer.h> #include <kaboutdata.h> |