summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneysplit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/mymoney/mymoneysplit.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/mymoney/mymoneysplit.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneysplit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneysplit.cpp b/kmymoney2/mymoney/mymoneysplit.cpp
index 4af052d..8c00d89 100644
--- a/kmymoney2/mymoney/mymoneysplit.cpp
+++ b/kmymoney2/mymoney/mymoneysplit.cpp
@@ -244,7 +244,7 @@ void MyMoneySplit::addMatch(const MyMoneyTransaction& _t)
doc.appendChild(el);
t.writeXML(doc, el);
TQString xml = doc.toString();
- xml.tqreplace("<", "&lt;");
+ xml.replace("<", "&lt;");
setValue("kmm-matched-tx", xml);
}
}
@@ -258,7 +258,7 @@ MyMoneyTransaction MyMoneySplit::matchedTransaction(void) const
{
TQString xml = value("kmm-matched-tx");
if(!xml.isEmpty()) {
- xml.tqreplace("&lt;", "<");
+ xml.replace("&lt;", "<");
TQDomDocument doc;
TQDomElement node;
doc.setContent(xml);