diff options
Diffstat (limited to 'karm/plannerparser.cpp')
-rw-r--r-- | karm/plannerparser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karm/plannerparser.cpp b/karm/plannerparser.cpp index 67f7bd53f..7ac13a5e3 100644 --- a/karm/plannerparser.cpp +++ b/karm/plannerparser.cpp @@ -55,15 +55,15 @@ test cases: int taskComplete=0; // only <task>s within <tasks> are processed - if (qName == TQString::fromLatin1("tasks")) withInTasks=true; - if ((qName == TQString::fromLatin1("task")) && (withInTasks)) + if (qName == TQString::tqfromLatin1("tasks")) withInTasks=true; + if ((qName == TQString::tqfromLatin1("task")) && (withInTasks)) { // find out name and percent-complete for (int i=0; i<att.length(); i++) { - if (att.qName(i) == TQString::fromLatin1("name")) taskName=att.value(i); - if (att.qName(i)==TQString::fromLatin1("percent-complete")) taskComplete=att.value(i).toInt(); + if (att.qName(i) == TQString::tqfromLatin1("name")) taskName=att.value(i); + if (att.qName(i)==TQString::tqfromLatin1("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 |