summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyaccount.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyaccount.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/mymoney/mymoneyaccount.cpp b/kmymoney2/mymoney/mymoneyaccount.cpp
index d0d98d1..001d17c 100644
--- a/kmymoney2/mymoney/mymoneyaccount.cpp
+++ b/kmymoney2/mymoney/mymoneyaccount.cpp
@@ -64,7 +64,7 @@ MyMoneyAccount::MyMoneyAccount(const TQDomElement& node) :
// qDebug("Reading information for account %s", acc.name().data());
- setParentAccountId(TQStringEmpty(node.attribute("tqparentaccount")));
+ setParentAccountId(TQStringEmpty(node.attribute("parentaccount")));
setLastModified(stringToDate(TQStringEmpty(node.attribute("lastmodified"))));
setLastReconciliationDate(stringToDate(TQStringEmpty(node.attribute("lastreconciled"))));
@@ -105,7 +105,7 @@ MyMoneyAccount::MyMoneyAccount(const TQDomElement& node) :
setDescription(node.attribute("description"));
m_id = TQStringEmpty(node.attribute("id"));
- // qDebug("Account %s has id of %s, type of %d, tqparent is %s.", acc.name().data(), id.data(), type, acc.tqparentAccountId().data());
+ // qDebug("Account %s has id of %s, type of %d, tqparent is %s.", acc.name().data(), id.data(), type, acc.parentAccountId().data());
// Process any Sub-Account information found inside the account entry.
m_accountList.clear();
@@ -481,7 +481,7 @@ void MyMoneyAccount::writeXML(TQDomDocument& document, TQDomElement& tqparent) c
writeBaseXML(document, el);
- el.setAttribute("tqparentaccount", tqparentAccountId());
+ el.setAttribute("parentaccount", parentAccountId());
el.setAttribute("lastreconciled", dateToString(lastReconciliationDate()));
el.setAttribute("lastmodified", dateToString(lastModified()));
el.setAttribute("institution", institutionId());