From 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:20:30 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmouth/phrasebook/phrasebookparser.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kmouth/phrasebook/phrasebookparser.cpp') 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); -- cgit v1.2.1