summaryrefslogtreecommitdiffstats
path: root/kwallet
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /kwallet
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kwallet')
-rw-r--r--kwallet/backend/kwalletbackend.cc2
-rw-r--r--kwallet/backend/kwalletbackend.h2
-rw-r--r--kwallet/tests/kwalletasync.cpp2
-rw-r--r--kwallet/tests/kwalletboth.cpp2
-rw-r--r--kwallet/tests/kwalletsync.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/kwallet/backend/kwalletbackend.cc b/kwallet/backend/kwalletbackend.cc
index bf67ba854..59b7dda2e 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.tqat(sz - 20 + i))) {
+ if (testhash[i] != static_cast<const char>(encrypted.at(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 59df303d6..f43f56ec8 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).tqat(i);
+ y = const_cast<MD5Digest&>(r).at(i);
if (x != y) {
break;
}
diff --git a/kwallet/tests/kwalletasync.cpp b/kwallet/tests/kwalletasync.cpp
index 072fb55f8..162e1f3f9 100644
--- a/kwallet/tests/kwalletasync.cpp
+++ b/kwallet/tests/kwalletasync.cpp
@@ -1,4 +1,4 @@
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kaboutdata.h>
diff --git a/kwallet/tests/kwalletboth.cpp b/kwallet/tests/kwalletboth.cpp
index 75d303419..45b02d2d7 100644
--- a/kwallet/tests/kwalletboth.cpp
+++ b/kwallet/tests/kwalletboth.cpp
@@ -1,4 +1,4 @@
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kaboutdata.h>
diff --git a/kwallet/tests/kwalletsync.cpp b/kwallet/tests/kwalletsync.cpp
index 3625a5cb6..ef03d708a 100644
--- a/kwallet/tests/kwalletsync.cpp
+++ b/kwallet/tests/kwalletsync.cpp
@@ -1,4 +1,4 @@
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqtimer.h>
#include <kaboutdata.h>