diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /kplato/kptcontext.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kplato/kptcontext.cpp')
-rw-r--r-- | kplato/kptcontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptcontext.cpp b/kplato/kptcontext.cpp index 830c6c957..58a2d205d 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()) { |