summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/khomeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/khomeview.cpp')
-rw-r--r--kmymoney2/views/khomeview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/views/khomeview.cpp b/kmymoney2/views/khomeview.cpp
index bb13614..2469ed3 100644
--- a/kmymoney2/views/khomeview.cpp
+++ b/kmymoney2/views/khomeview.cpp
@@ -181,20 +181,20 @@ void KHomeView::loadView(void)
DOM::Element e = m_part->document().getElementById("test");
if ( e.isNull() )
{
- qDebug("Element id=test not found");
+ tqDebug("Element id=test not found");
}
else
{
- qDebug("Element id=test found!");
+ tqDebug("Element id=test found!");
TQString tagname = e.tagName().string();
- qDebug("%s",tagname.latin1());
- qDebug("%s id=%s",e.tagName().string().latin1(),e.getAttribute("id").string().latin1());
+ tqDebug("%s",tagname.latin1());
+ tqDebug("%s id=%s",e.tagName().string().latin1(),e.getAttribute("id").string().latin1());
// Find the character data node
DOM::Node n = e.firstChild();
while (!n.isNull())
{
- qDebug("Child type %u",static_cast<unsigned>(n.nodeType()));
+ tqDebug("Child type %u",static_cast<unsigned>(n.nodeType()));
if ( n.nodeType() == DOM::Node::TEXT_NODE )
{
DOM::Text t = n;
@@ -204,7 +204,7 @@ void KHomeView::loadView(void)
m_part->document().importNode(e,true);
m_part->document().updateRendering();
- qDebug("Data is now %s",t.data().string().latin1());
+ tqDebug("Data is now %s",t.data().string().latin1());
}
n = n.nextSibling();
}
@@ -682,12 +682,12 @@ void KHomeView::showPaymentEntry(const MyMoneySchedule& sched, int cnt)
tmp += showColoredAmount(balance, balanceAfter.isNegative());
tmp += "</td>";
- // qDebug("paymentEntry = '%s'", tmp.latin1());
+ // tqDebug("paymentEntry = '%s'", tmp.latin1());
m_part->write(tmp);
}
}
} catch(MyMoneyException* e) {
- qDebug("Unable to display schedule entry: %s", e->what().data());
+ tqDebug("Unable to display schedule entry: %s", e->what().data());
delete e;
}
}
@@ -868,7 +868,7 @@ void KHomeView::showAccountEntry(const MyMoneyAccount& acc, const MyMoneyMoney&
tmp += TQString("<td class=\"right\">%1</td>").arg(showColoredAmount(amountToMinBal, valueToMinBal.isNegative()));
}
}
- // qDebug("accountEntry = '%s'", tmp.latin1());
+ // tqDebug("accountEntry = '%s'", tmp.latin1());
m_part->write(tmp);
}
@@ -893,7 +893,7 @@ MyMoneyMoney KHomeView::investmentBalance(const MyMoneyAccount& acc)
val = val.convert(acc.fraction());
value += val;
} catch(MyMoneyException* e) {
- qWarning("%s", (TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what())).data());
+ tqWarning("%s", (TQString("cannot convert stock balance of %1 to base currency: %2").arg(stock.name(), e->what())).data());
delete e;
}
}
@@ -1184,7 +1184,7 @@ void KHomeView::slotOpenURL(const KURL &url, const KParts::URLArgs& /* args */)
loadView();
} else {
- qDebug("Unknown view '%s' in KHomeView::slotOpenURL()", view.latin1());
+ tqDebug("Unknown view '%s' in KHomeView::slotOpenURL()", view.latin1());
}
}
}