diff options
Diffstat (limited to 'kexi/kexiutils/utils.cpp')
-rw-r--r-- | kexi/kexiutils/utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index fd6c4e87..dca4998b 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -226,7 +226,7 @@ TQMap<TQString,TQString> KexiUtils::deserializeMap(const TQString& string) TQCString cstr(string.latin1()); TQByteArray array( size ); for (uint i=0; i<size; i++) { - array[i] = char(string[i].tqunicode()-1); + array[i] = char(string[i].unicode()-1); } TQMap<TQString,TQString> map; TQDataStream ds(array, IO_ReadOnly); @@ -244,13 +244,13 @@ TQString KexiUtils::stringToFileName(const TQString& string) void KexiUtils::simpleCrypt(TQString& string) { for (uint i=0; i<string.length(); i++) - string[i] = TQChar( string[i].tqunicode() + 47 + i ); + string[i] = TQChar( string[i].unicode() + 47 + i ); } void KexiUtils::simpleDecrypt(TQString& string) { for (uint i=0; i<string.length(); i++) - string[i] = TQChar( string[i].tqunicode() - 47 - i ); + string[i] = TQChar( string[i].unicode() - 47 - i ); } void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect, |