diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:26 -0600 |
commit | 392b293dfeaa3e4241e50b833126d0c2d598761d (patch) | |
tree | 2e113362b942a9339c055661efd21cdb626e5e1d /src/ciscopasswddecoder.cpp | |
parent | 1d9c18c8a07f4833695c6a2ab978698ae1cc90e7 (diff) | |
download | kvpnc-392b293dfeaa3e4241e50b833126d0c2d598761d.tar.gz kvpnc-392b293dfeaa3e4241e50b833126d0c2d598761d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 1d9c18c8a07f4833695c6a2ab978698ae1cc90e7.
Diffstat (limited to 'src/ciscopasswddecoder.cpp')
-rw-r--r-- | src/ciscopasswddecoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ciscopasswddecoder.cpp b/src/ciscopasswddecoder.cpp index 771b979..3529373 100644 --- a/src/ciscopasswddecoder.cpp +++ b/src/ciscopasswddecoder.cpp @@ -21,7 +21,7 @@ #include "ciscopasswddecoder.h" #include <tqfile.h> -#include <textstream.h> +#include <tqtextstream.h> #include <kmessagebox.h> #include <klocale.h> @@ -78,7 +78,7 @@ TQString p; int i, l; for (i = 0; str[i] != '\0'; i++) - if (hex2bin_c(TQChar(str[i]).unicode()) == -1) + if (hex2bin_c(TQChar(str[i]).tqunicode()) == -1) return EINVAL; l = i; @@ -87,7 +87,7 @@ TQString p; l /= 2; for (i = 0; i < l; i++) - p+= hex2bin_c(TQChar(str[i*2]).unicode()) << 4 | hex2bin_c(TQChar(str[i*2+1]).unicode()); + p+= hex2bin_c(TQChar(str[i*2]).tqunicode()) << 4 | hex2bin_c(TQChar(str[i*2+1]).tqunicode()); bin = p; if (len) |