summaryrefslogtreecommitdiffstats
path: root/kmouth/phrasebook/phrasebook.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:16 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-20 19:43:55 +0200
commit5a3b2a8bb73c101a5c6cedcedd85cfb37e27a54f (patch)
tree3fdc96f09812e3a753f135a4974c5934733c60c4 /kmouth/phrasebook/phrasebook.cpp
parent35ef45e0e2bd97bea881ba3c53e0ab35ce84d82e (diff)
downloadtdeaccessibility-5a3b2a8bb73c101a5c6cedcedd85cfb37e27a54f.tar.gz
tdeaccessibility-5a3b2a8bb73c101a5c6cedcedd85cfb37e27a54f.zip
Rename obsolete tq methods to standard names
(cherry picked from commit c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2)
Diffstat (limited to 'kmouth/phrasebook/phrasebook.cpp')
-rw-r--r--kmouth/phrasebook/phrasebook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp
index 6188a8a..ffa3ff2 100644
--- a/kmouth/phrasebook/phrasebook.cpp
+++ b/kmouth/phrasebook/phrasebook.cpp
@@ -151,7 +151,7 @@ TQCString encodeString (const TQString str) {
TQCString res = "";
for (int i = 0; i < (int)str.length(); i++) {
TQChar ch = str.at(i);
- ushort uc = ch.tqunicode();
+ ushort uc = ch.unicode();
TQCString number; number.setNum(uc);
if ((uc>127) || (uc<32) || (ch=='<') || (ch=='>') || (ch=='&') || (ch==';'))
res = res + "&#" + number + ";";