summaryrefslogtreecommitdiffstats
path: root/kplato/kptcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptcontext.cpp')
-rw-r--r--kplato/kptcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptcontext.cpp b/kplato/kptcontext.cpp
index 830c6c95..58a2d205 100644
--- a/kplato/kptcontext.cpp
+++ b/kplato/kptcontext.cpp
@@ -79,7 +79,7 @@ bool Context::load(TQDomElement &element) {
} else if (e.tagName() == "accounts-view") {
accountsview.accountsviewsize = e.attribute("accountsview-size").toInt();
accountsview.periodviewsize = e.attribute("periodview-size").toInt();
- accountsview.date = TQDate::fromString(e.attribute("date"), Qt::ISODate);
+ accountsview.date = TQDate::fromString(e.attribute("date"), TQt::ISODate);
accountsview.period = e.attribute("period").toInt();
accountsview.cumulative = e.attribute("cumulative").toInt();
@@ -146,7 +146,7 @@ void Context::save(TQDomElement &element) const {
me.appendChild(a);
a.setAttribute("accountsview-size", accountsview.accountsviewsize);
a.setAttribute("periodview-size", accountsview.periodviewsize);
- a.setAttribute("date", accountsview.date.toString(Qt::ISODate));
+ a.setAttribute("date", accountsview.date.toString(TQt::ISODate));
a.setAttribute("period", accountsview.period);
a.setAttribute("cumulative", accountsview.cumulative);
if (!accountsview.closedItems.isEmpty()) {