summaryrefslogtreecommitdiffstats
path: root/kplato/kptappointment.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /kplato/kptappointment.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kplato/kptappointment.cpp')
-rw-r--r--kplato/kptappointment.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptappointment.cpp b/kplato/kptappointment.cpp
index f09b4bcc6..6d239ccd6 100644
--- a/kplato/kptappointment.cpp
+++ b/kplato/kptappointment.cpp
@@ -95,8 +95,8 @@ void AppointmentInterval::saveXML(TQDomElement &element) const {
TQDomElement me = element.ownerDocument().createElement("interval");
element.appendChild(me);
- me.setAttribute("start", m_start.toString(Qt::ISODate));
- me.setAttribute("end", m_end.toString(Qt::ISODate));
+ me.setAttribute("start", m_start.toString(TQt::ISODate));
+ me.setAttribute("end", m_end.toString(TQt::ISODate));
me.setAttribute("load", m_load);
}
@@ -251,7 +251,7 @@ bool Appointment::UsedEffort::load(TQDomElement &element) {
TQDate date;
s = e.attribute("date");
if (s != "")
- date = TQDate::fromString(s, Qt::ISODate);
+ date = TQDate::fromString(s, TQt::ISODate);
Duration eff = Duration::fromString(e.attribute("effort"));
bool ot = e.attribute("overtime", "0").toInt();
if (date.isValid()) {
@@ -271,7 +271,7 @@ void Appointment::UsedEffort::save(TQDomElement &element) const {
for (; it.current(); ++it) {
TQDomElement me = element.ownerDocument().createElement("actual-effort");
element.appendChild(me);
- me.setAttribute("date",it.current()->date().toString(Qt::ISODate));
+ me.setAttribute("date",it.current()->date().toString(TQt::ISODate));
me.setAttribute("effort",it.current()->effort().toString());
me.setAttribute("overtime",it.current()->isOvertime());
}