diff options
Diffstat (limited to 'kplato/kptappointment.cpp')
-rw-r--r-- | kplato/kptappointment.cpp | 8 |
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()); } |