diff options
Diffstat (limited to 'karm/plannerparser.cpp')
-rw-r--r-- | karm/plannerparser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/karm/plannerparser.cpp b/karm/plannerparser.cpp index 21e0c4f76..67f7bd53f 100644 --- a/karm/plannerparser.cpp +++ b/karm/plannerparser.cpp @@ -48,22 +48,22 @@ test cases: return true; } - bool PlannerParser::startElement( const QString&, const QString&, const QString& qName, const QXmlAttributes& att ) + bool PlannerParser::startElement( const TQString&, const TQString&, const TQString& qName, const TQXmlAttributes& att ) { kdDebug() << "entering startElement" << endl; - QString taskName; + TQString taskName; int taskComplete=0; // only <task>s within <tasks> are processed - if (qName == QString::fromLatin1("tasks")) withInTasks=true; - if ((qName == QString::fromLatin1("task")) && (withInTasks)) + if (qName == TQString::fromLatin1("tasks")) withInTasks=true; + if ((qName == TQString::fromLatin1("task")) && (withInTasks)) { // find out name and percent-complete for (int i=0; i<att.length(); i++) { - if (att.qName(i) == QString::fromLatin1("name")) taskName=att.value(i); - if (att.qName(i)==QString::fromLatin1("percent-complete")) taskComplete=att.value(i).toInt(); + if (att.qName(i) == TQString::fromLatin1("name")) taskName=att.value(i); + if (att.qName(i)==TQString::fromLatin1("percent-complete")) taskComplete=att.value(i).toInt(); } // at the moment, task is still the old task or the old father task (if an endElement occurred) or not existing (if the @@ -87,7 +87,7 @@ test cases: return true; } - bool PlannerParser::endElement( const QString&, const QString&, const QString& qName) + bool PlannerParser::endElement( const TQString&, const TQString&, const TQString& qName) { // only <task>s within <tasks> increased level, so only decrease for <task>s within <tasks> if (withInTasks) |