From c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:17:16 -0600 Subject: Rename obsolete tq methods to standard names --- kmouth/phrasebook/phrasebook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kmouth/phrasebook/phrasebook.cpp') 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 + ";"; -- cgit v1.2.1