summaryrefslogtreecommitdiffstats
path: root/kmouth/phrasebook/phrasebookparser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
commit28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch)
treea2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /kmouth/phrasebook/phrasebookparser.cpp
parent0285229d858c8f03cde7354c679a752598cf4515 (diff)
downloadtdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz
tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmouth/phrasebook/phrasebookparser.cpp')
-rw-r--r--kmouth/phrasebook/phrasebookparser.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmouth/phrasebook/phrasebookparser.cpp b/kmouth/phrasebook/phrasebookparser.cpp
index 9883e49..441ab55 100644
--- a/kmouth/phrasebook/phrasebookparser.cpp
+++ b/kmouth/phrasebook/phrasebookparser.cpp
@@ -23,19 +23,19 @@ PhraseBookParser::PhraseBookParser() {
PhraseBookParser::~PhraseBookParser() {
}
-bool PhraseBookParser::warning (const QXmlParseException &) {
+bool PhraseBookParser::warning (const TQXmlParseException &) {
return false;
}
-bool PhraseBookParser::error (const QXmlParseException &) {
+bool PhraseBookParser::error (const TQXmlParseException &) {
return false;
}
-bool PhraseBookParser::fatalError (const QXmlParseException &) {
+bool PhraseBookParser::fatalError (const TQXmlParseException &) {
return false;
}
-QString PhraseBookParser::errorString() {
+TQString PhraseBookParser::errorString() {
return "";
}
@@ -48,9 +48,9 @@ bool PhraseBookParser::startDocument() {
return true;
}
-bool PhraseBookParser::startElement (const QString &, const QString &,
- const QString &name,
- const QXmlAttributes &attributes)
+bool PhraseBookParser::startElement (const TQString &, const TQString &,
+ const TQString &name,
+ const TQXmlAttributes &attributes)
{
if (name == "phrase") {
if (isInPhrase)
@@ -77,18 +77,18 @@ bool PhraseBookParser::startElement (const QString &, const QString &,
return true;
}
-bool PhraseBookParser::characters (const QString &ch) {
+bool PhraseBookParser::characters (const TQString &ch) {
phrase.phrase += ch;
return true;
}
-bool PhraseBookParser::ignorableWhitespace (const QString &ch) {
+bool PhraseBookParser::ignorableWhitespace (const TQString &ch) {
phrase.phrase += ch;
return true;
}
-bool PhraseBookParser::endElement (const QString &, const QString &,
- const QString &name)
+bool PhraseBookParser::endElement (const TQString &, const TQString &,
+ const TQString &name)
{
if (name == "phrase") {
list += PhraseBookEntry (phrase, level, true);