diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneystatement.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneystatement.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/mymoney/mymoneystatement.cpp b/kmymoney2/mymoney/mymoneystatement.cpp index 639bcd8..e3d155b 100644 --- a/kmymoney2/mymoney/mymoneystatement.cpp +++ b/kmymoney2/mymoney/mymoneystatement.cpp @@ -51,8 +51,8 @@ void MyMoneyStatement::write(TQDomElement& _root,TQDomDocument* _doc) const e.setAttribute("accountnumber", m_strAccountNumber); e.setAttribute("routingnumber", m_strRoutingNumber); e.setAttribute("currency", m_strCurrency); - e.setAttribute("begindate", m_dateBegin.toString(Qt::ISODate)); - e.setAttribute("enddate", m_dateEnd.toString(Qt::ISODate)); + e.setAttribute("begindate", m_dateBegin.toString(TQt::ISODate)); + e.setAttribute("enddate", m_dateEnd.toString(TQt::ISODate)); e.setAttribute("closingbalance", m_closingBalance.toString()); e.setAttribute("type", kAccountTypeTxt[m_eType]); e.setAttribute("accountid", m_accountId); @@ -63,7 +63,7 @@ void MyMoneyStatement::write(TQDomElement& _root,TQDomDocument* _doc) const while ( it_t != m_listTransactions.end() ) { TQDomElement p = _doc->createElement("TRANSACTION"); - p.setAttribute("dateposted", (*it_t).m_datePosted.toString(Qt::ISODate)); + p.setAttribute("dateposted", (*it_t).m_datePosted.toString(TQt::ISODate)); p.setAttribute("payee", (*it_t).m_strPayee); p.setAttribute("memo", (*it_t).m_strMemo); p.setAttribute("number", (*it_t).m_strNumber); @@ -102,7 +102,7 @@ void MyMoneyStatement::write(TQDomElement& _root,TQDomDocument* _doc) const while ( it_p != m_listPrices.end() ) { TQDomElement p = _doc->createElement("PRICE"); - p.setAttribute("dateposted", (*it_p).m_date.toString(Qt::ISODate)); + p.setAttribute("dateposted", (*it_p).m_date.toString(TQt::ISODate)); p.setAttribute("security", (*it_p).m_strSecurity); p.setAttribute("amount", (*it_p).m_amount.toString()); @@ -139,8 +139,8 @@ bool MyMoneyStatement::read(const TQDomElement& _e) m_strAccountNumber = _e.attribute("accountnumber"); m_strRoutingNumber = _e.attribute("routingnumber"); m_strCurrency = _e.attribute("currency"); - m_dateBegin = TQDate::fromString(_e.attribute("begindate"),Qt::ISODate); - m_dateEnd = TQDate::fromString(_e.attribute("enddate"),Qt::ISODate); + m_dateBegin = TQDate::fromString(_e.attribute("begindate"),TQt::ISODate); + m_dateEnd = TQDate::fromString(_e.attribute("enddate"),TQt::ISODate); m_closingBalance = MyMoneyMoney(_e.attribute("closingbalance")); m_accountId = _e.attribute("accountid"); m_skipCategoryMatching = !(_e.attribute("skipCategoryMatching").isEmpty()); @@ -158,7 +158,7 @@ bool MyMoneyStatement::read(const TQDomElement& _e) { MyMoneyStatement::Transaction t; - t.m_datePosted = TQDate::fromString(c.attribute("dateposted"),Qt::ISODate); + t.m_datePosted = TQDate::fromString(c.attribute("dateposted"),TQt::ISODate); t.m_amount = MyMoneyMoney(c.attribute("amount")); t.m_strMemo = c.attribute("memo"); t.m_strNumber = c.attribute("number"); @@ -197,7 +197,7 @@ bool MyMoneyStatement::read(const TQDomElement& _e) { MyMoneyStatement::Price p; - p.m_date = TQDate::fromString(c.attribute("dateposted"), Qt::ISODate); + p.m_date = TQDate::fromString(c.attribute("dateposted"), TQt::ISODate); p.m_strSecurity = c.attribute("security"); p.m_amount = MyMoneyMoney(c.attribute("amount")); |