summaryrefslogtreecommitdiffstats
path: root/kplato/kptnode.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kplato/kptnode.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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 1da218e68..c95a1c9b2 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::tqcurrentDate();
+ m_dateOnlyStartDate = m_dateOnlyEndDate = TQDate::currentDate();
m_dateOnlyDuration.addDays(1);
m_runningAccount = 0;
@@ -942,7 +942,7 @@ int Effort::pessimisticRatio() const {
// Debugging
#ifndef NDEBUG
-void Node::printDebug(bool tqchildren, TQCString indent) {
+void Node::printDebug(bool children, 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 tqchildren, TQCString indent) {
}
kdDebug()<<indent<<" No of successors: "<<m_dependChildNodes.count()<<endl;
TQPtrListIterator<Relation> cit(m_dependChildNodes);
- //kdDebug()<<indent<<" Dependant tqchildren="<<cit.count()<<endl;
+ //kdDebug()<<indent<<" Dependant children="<<cit.count()<<endl;
if (cit.count() > 0) {
for ( ; cit.current(); ++cit ) {
cit.current()->printDebug(indent);
@@ -981,7 +981,7 @@ void Node::printDebug(bool tqchildren, TQCString indent) {
//kdDebug()<<indent<<endl;
indent += " ";
- if (tqchildren) {
+ if (children) {
TQPtrListIterator<Node> it(m_nodes);
for ( ; it.current(); ++it ) {
it.current()->printDebug(true,indent);