summaryrefslogtreecommitdiffstats
path: root/karm/plannerparser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
commit0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (patch)
tree4138783f7dad757fc5fbfaa8d66a355288d3125e /karm/plannerparser.cpp
parent9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (diff)
downloadtdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.tar.gz
tdepim-0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78.zip
Rename old tq methods that no longer need a unique name
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