summaryrefslogtreecommitdiffstats
path: root/kplato/kptnode.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kplato/kptnode.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kplato/kptnode.cc')
-rw-r--r--kplato/kptnode.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptnode.cc b/kplato/kptnode.cc
index c95a1c9b2..1da218e68 100644
--- a/kplato/kptnode.cc
+++ b/kplato/kptnode.cc
@@ -96,7 +96,7 @@ void Node::init() {
m_visitedForward = false;
m_visitedBackward = false;
- m_dateOnlyStartDate = m_dateOnlyEndDate = TQDate::currentDate();
+ m_dateOnlyStartDate = m_dateOnlyEndDate = TQDate::tqcurrentDate();
m_dateOnlyDuration.addDays(1);
m_runningAccount = 0;
@@ -942,7 +942,7 @@ int Effort::pessimisticRatio() const {
// Debugging
#ifndef NDEBUG
-void Node::printDebug(bool children, TQCString indent) {
+void Node::printDebug(bool tqchildren, TQCString indent) {
kdDebug()<<indent<<" Unique node identity="<<m_id<<endl;
if (m_effort) m_effort->printDebug(indent);
TQString s = " Constraint: " + constraintToString();
@@ -972,7 +972,7 @@ void Node::printDebug(bool children, TQCString indent) {
}
kdDebug()<<indent<<" No of successors: "<<m_dependChildNodes.count()<<endl;
TQPtrListIterator<Relation> cit(m_dependChildNodes);
- //kdDebug()<<indent<<" Dependant children="<<cit.count()<<endl;
+ //kdDebug()<<indent<<" Dependant tqchildren="<<cit.count()<<endl;
if (cit.count() > 0) {
for ( ; cit.current(); ++cit ) {
cit.current()->printDebug(indent);
@@ -981,7 +981,7 @@ void Node::printDebug(bool children, TQCString indent) {
//kdDebug()<<indent<<endl;
indent += " ";
- if (children) {
+ if (tqchildren) {
TQPtrListIterator<Node> it(m_nodes);
for ( ; it.current(); ++it ) {
it.current()->printDebug(true,indent);