diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 22:44:03 +0900 |
commit | 0008104748e6613c41d60b0545c07ed34e16ddec (patch) | |
tree | 12b1131ace7823c35c51d7f03002ed0e9f476dbd /kmymoney2/mymoney/mymoneybudget.cpp | |
parent | a84f7caff6a73b3d554279d41b9a00aa15ad1400 (diff) | |
download | kmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.tar.gz kmymoney-0008104748e6613c41d60b0545c07ed34e16ddec.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 96c67c9b3924ab034d3d34aa03d3ea7cf0746587)
Diffstat (limited to 'kmymoney2/mymoney/mymoneybudget.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneybudget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneybudget.cpp b/kmymoney2/mymoney/mymoneybudget.cpp index c0c4054..24cc85f 100644 --- a/kmymoney2/mymoney/mymoneybudget.cpp +++ b/kmymoney2/mymoney/mymoneybudget.cpp @@ -198,7 +198,7 @@ void MyMoneyBudget::write(TQDomElement& e, TQDomDocument *doc) const writeBaseXML(*doc, e); e.setAttribute("name", m_name); - e.setAttribute("start", m_start.toString(Qt::ISODate) ); + e.setAttribute("start", m_start.toString(TQt::ISODate) ); e.setAttribute("version", BUDGET_VERSION); TQMap<TQString, AccountGroup>::const_iterator it; @@ -217,7 +217,7 @@ void MyMoneyBudget::write(TQDomElement& e, TQDomDocument *doc) const TQDomElement domPeriod = doc->createElement("PERIOD"); domPeriod.setAttribute("amount", (*it_per).amount().toString()); - domPeriod.setAttribute("start", (*it_per).startDate().toString(Qt::ISODate)); + domPeriod.setAttribute("start", (*it_per).startDate().toString(TQt::ISODate)); domAccount.appendChild(domPeriod); } } @@ -240,7 +240,7 @@ bool MyMoneyBudget::read(const TQDomElement& e) { result = true; m_name = e.attribute("name"); - m_start = TQDate::fromString(e.attribute("start"), Qt::ISODate); + m_start = TQDate::fromString(e.attribute("start"), TQt::ISODate); m_id = e.attribute("id"); TQDomNode child = e.firstChild(); @@ -273,7 +273,7 @@ bool MyMoneyBudget::read(const TQDomElement& e) if("PERIOD" == per.tagName() && per.hasAttribute("amount") && per.hasAttribute("start")) { pGroup.setAmount( MyMoneyMoney(per.attribute("amount")) ); - pGroup.setStartDate( TQDate::fromString(per.attribute("start"), Qt::ISODate) ); + pGroup.setStartDate( TQDate::fromString(per.attribute("start"), TQt::ISODate) ); account.addPeriod(pGroup.startDate(), pGroup); } |