summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/khomeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:19:48 -0600
commitaa85254cd16cb870b8d1649ef1dbad09bd8491e8 (patch)
tree850c18efae9bd6bc03f83c16fe4caf8670b67f43 /kmymoney2/views/khomeview.cpp
parent4aafeadd9f7ae0e603589579d467588c7421a283 (diff)
downloadkmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.tar.gz
kmymoney-aa85254cd16cb870b8d1649ef1dbad09bd8491e8.zip
Rename additional global TQt functions
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());
}
}
}