summaryrefslogtreecommitdiffstats
path: root/kplato/kptnode.cc
diff options
context:
space:
mode:
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 c95a1c9b..1da218e6 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);