summaryrefslogtreecommitdiffstats
path: root/kiten/dict.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-04 02:22:38 +0000
commit98a12d05a48814bec3870b9a6d5865475cfa1c95 (patch)
treea711801e47696fb0cf162abd7330e0b5b480ba39 /kiten/dict.cpp
parent421a1845137c7c396b5d03bce53237fcb149d602 (diff)
downloadtdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.tar.gz
tdeedu-98a12d05a48814bec3870b9a6d5865475cfa1c95.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1211429 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiten/dict.cpp')
-rw-r--r--kiten/dict.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kiten/dict.cpp b/kiten/dict.cpp
index 23da1a9e..c80158d6 100644
--- a/kiten/dict.cpp
+++ b/kiten/dict.cpp
@@ -50,7 +50,7 @@ using namespace Dict;
TextType Dict::textType(const TQString &text)
{
- ushort first = text.at(0).unicode();
+ ushort first = text.at(0).tqunicode();
if (first < 0x3000)
return Text_Latin;
@@ -769,8 +769,8 @@ TQString Dict::firstEntryText(Dict::SearchResult result)
///////////////////////////////////////////////////////////////
Entry::Entry(const TQString & kanji, const TQString & reading, const TQStringList &meanings)
- : DictName(TQString::fromLatin1("__NOTSET"))
- , Header(TQString::fromLatin1("__NOTSET"))
+ : DictName(TQString::tqfromLatin1("__NOTSET"))
+ , Header(TQString::tqfromLatin1("__NOTSET"))
, Meanings(meanings)
, Kanji(kanji)
, KanaOnly(reading.isEmpty())
@@ -784,8 +784,8 @@ Entry::Entry(const TQString & kanji, const TQString & reading, const TQStringLis
}
Entry::Entry(const TQString &kanji, TQStringList &readings, TQStringList &meanings, unsigned int grade, unsigned int freq, unsigned int strokes, unsigned int miscount)
- : DictName(TQString::fromLatin1("__NOTSET"))
- , Header(TQString::fromLatin1("__NOTSET"))
+ : DictName(TQString::tqfromLatin1("__NOTSET"))
+ , Header(TQString::tqfromLatin1("__NOTSET"))
, Meanings(meanings)
, Kanji(kanji)
, KanaOnly(false)
@@ -806,7 +806,7 @@ Entry::Entry(const TQString &dictname)
}
Entry::Entry(const TQString &headername, bool)
- : DictName(TQString::fromLatin1("__NOTSET"))
+ : DictName(TQString::tqfromLatin1("__NOTSET"))
, Header(headername)
, KanaOnly(true)
, ExtendedKanjiInfo(false)