summaryrefslogtreecommitdiffstats
path: root/karm/plannerparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:24:29 +0200
commite3649f744289c180537d2d8474dc0e39050e654f (patch)
tree5d3d773985c0bfdfed5e0aed35fe8b2441d60787 /karm/plannerparser.cpp
parent4b4a3f32d8e71d79626206211ee6e23ee1e968b8 (diff)
downloadtdepim-e3649f744289c180537d2d8474dc0e39050e654f.tar.gz
tdepim-e3649f744289c180537d2d8474dc0e39050e654f.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78)
Diffstat (limited to 'karm/plannerparser.cpp')
-rw-r--r--karm/plannerparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/karm/plannerparser.cpp b/karm/plannerparser.cpp
index 7ac13a5e3..67f7bd53f 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::tqfromLatin1("tasks")) withInTasks=true;
- if ((qName == TQString::tqfromLatin1("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) == TQString::tqfromLatin1("name")) taskName=att.value(i);
- if (att.qName(i)==TQString::tqfromLatin1("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