diff options
Diffstat (limited to 'kplato')
-rw-r--r-- | kplato/kptappointment.cpp | 8 | ||||
-rw-r--r-- | kplato/kptcalendar.cpp | 12 | ||||
-rw-r--r-- | kplato/kptcalendaredit.cpp | 2 | ||||
-rw-r--r-- | kplato/kptcalendareditbase.cpp | 6 | ||||
-rw-r--r-- | kplato/kptcanvasitem.cpp | 4 | ||||
-rw-r--r-- | kplato/kptcontext.cpp | 4 | ||||
-rw-r--r-- | kplato/kptdatetable.cpp | 8 | ||||
-rw-r--r-- | kplato/kptdatetime.h | 2 | ||||
-rw-r--r-- | kplato/kptdoublelistviewbase.cpp | 4 | ||||
-rw-r--r-- | kplato/kptganttview.cpp | 2 | ||||
-rw-r--r-- | kplato/kptmap.h | 14 | ||||
-rw-r--r-- | kplato/kptpertcanvas.cpp | 12 | ||||
-rw-r--r-- | kplato/kptproject.cpp | 4 | ||||
-rw-r--r-- | kplato/kptresource.cpp | 4 | ||||
-rw-r--r-- | kplato/kptresourceview.cpp | 4 | ||||
-rw-r--r-- | kplato/kptschedule.cpp | 16 | ||||
-rw-r--r-- | kplato/kpttask.cpp | 8 |
17 files changed, 57 insertions, 57 deletions
diff --git a/kplato/kptappointment.cpp b/kplato/kptappointment.cpp index f09b4bcc..6d239ccd 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()); } diff --git a/kplato/kptcalendar.cpp b/kplato/kptcalendar.cpp index 46195041..b60b3392 100644 --- a/kplato/kptcalendar.cpp +++ b/kplato/kptcalendar.cpp @@ -92,7 +92,7 @@ bool CalendarDay::load(TQDomElement &element) { //kdDebug()<<k_funcinfo<<" state="<<m_state<<endl; TQString s = element.attribute("date"); if (s != "") { - m_date = TQDate::fromString(s, Qt::ISODate); + m_date = TQDate::fromString(s, TQt::ISODate); if (!m_date.isValid()) m_date = TQDate::fromString(s); } @@ -121,7 +121,7 @@ void CalendarDay::save(TQDomElement &element) const { if (m_state == Map::None) return; if (m_date.isValid()) { - element.setAttribute("date", m_date.toString(Qt::ISODate)); + element.setAttribute("date", m_date.toString(TQt::ISODate)); } element.setAttribute("state", m_state); if (m_workingIntervals.count() == 0) @@ -237,7 +237,7 @@ Duration CalendarDay::effort(const TQTime &start, const TQTime &end) { //kdDebug()<<k_funcinfo<<dtStart.time().toString()<<" - "<<dtEnd.time().toString()<<"="<<eff.toString(Duration::Format_Day)<<endl; } } - //kdDebug()<<k_funcinfo<<(m_date.isValid()?m_date.toString(Qt::ISODate):"Weekday")<<": "<<start.toString()<<" - "<<end.toString()<<": total="<<eff.toString(Duration::Format_Day)<<endl; + //kdDebug()<<k_funcinfo<<(m_date.isValid()?m_date.toString(TQt::ISODate):"Weekday")<<": "<<start.toString()<<" - "<<end.toString()<<": total="<<eff.toString(Duration::Format_Day)<<endl; return eff; } @@ -264,14 +264,14 @@ bool CalendarDay::hasInterval() const { } bool CalendarDay::hasInterval(const TQTime &start, const TQTime &end) const { - //kdDebug()<<k_funcinfo<<(m_date.isValid()?m_date.toString(Qt::ISODate):"Weekday")<<" "<<start.toString()<<" - "<<end.toString()<<endl; + //kdDebug()<<k_funcinfo<<(m_date.isValid()?m_date.toString(TQt::ISODate):"Weekday")<<" "<<start.toString()<<" - "<<end.toString()<<endl; if (m_state != Map::Working) { return false; } TQPtrListIterator<TQPair<TQTime, TQTime> > it = m_workingIntervals; for (; it.current(); ++it) { if (start < it.current()->second && end > it.current()->first) { - //kdDebug()<<k_funcinfo<<"true:"<<(m_date.isValid()?m_date.toString(Qt::ISODate):"Weekday")<<" "<<it.current()->first.toString()<<" - "<<it.current()->second.toString()<<endl; + //kdDebug()<<k_funcinfo<<"true:"<<(m_date.isValid()?m_date.toString(TQt::ISODate):"Weekday")<<" "<<it.current()->first.toString()<<" - "<<it.current()->second.toString()<<endl; return true; } } @@ -689,7 +689,7 @@ bool Calendar::hasParent(Calendar *cal) { } Duration Calendar::effort(const TQDate &date, const TQTime &start, const TQTime &end) const { - //kdDebug()<<k_funcinfo<<m_name<<": "<<date.toString(Qt::ISODate)<<" "<<start.toString()<<" - "<<end.toString()<<endl; + //kdDebug()<<k_funcinfo<<m_name<<": "<<date.toString(TQt::ISODate)<<" "<<start.toString()<<" - "<<end.toString()<<endl; if (start == end) { return Duration::zeroDuration; } diff --git a/kplato/kptcalendaredit.cpp b/kplato/kptcalendaredit.cpp index a29eb8c0..427645d7 100644 --- a/kplato/kptcalendaredit.cpp +++ b/kplato/kptcalendaredit.cpp @@ -112,7 +112,7 @@ void CalendarEdit::slotApplyClicked() { //kdDebug()<<k_funcinfo<<"("<<m_calendar<<")"<<endl; DateMap dates = calendarPanel->selectedDates(); for(DateMap::iterator it = dates.begin(); it != dates.end(); ++it) { - TQDate date = TQDate::fromString(it.key(), Qt::ISODate); + TQDate date = TQDate::fromString(it.key(), TQt::ISODate); //kdDebug()<<k_funcinfo<<"Date: "<<date<<endl; CalendarDay *calDay = m_calendar->findDay(date); if (!calDay) { diff --git a/kplato/kptcalendareditbase.cpp b/kplato/kptcalendareditbase.cpp index 6349c273..c30d11dc 100644 --- a/kplato/kptcalendareditbase.cpp +++ b/kplato/kptcalendareditbase.cpp @@ -50,7 +50,7 @@ CalendarEditBase::CalendarEditBase( TQWidget* parent, const char* name, WFlags f CalendarEditBaseLayout = new TQHBoxLayout( this, 0, 0, "CalendarEditBaseLayout"); groupBox2 = new TQGroupBox( this, "groupBox2" ); - groupBox2->setColumnLayout(0, Qt::Vertical ); + groupBox2->setColumnLayout(0, TQt::Vertical ); groupBox2->layout()->setSpacing( 6 ); groupBox2->layout()->setMargin( 6 ); groupBox2Layout = new TQGridLayout( groupBox2->layout() ); @@ -61,7 +61,7 @@ CalendarEditBase::CalendarEditBase( TQWidget* parent, const char* name, WFlags f groupBox2Layout->addWidget( calendarPanel, 1, 0 ); day = new TQButtonGroup( groupBox2, "day" ); - day->setColumnLayout(0, Qt::Vertical ); + day->setColumnLayout(0, TQt::Vertical ); day->layout()->setSpacing( 6 ); day->layout()->setMargin( 6 ); dayLayout = new TQVBoxLayout( day->layout() ); @@ -77,7 +77,7 @@ CalendarEditBase::CalendarEditBase( TQWidget* parent, const char* name, WFlags f dayLayout->addLayout( layout8 ); groupBox4 = new TQGroupBox( day, "groupBox4" ); - groupBox4->setColumnLayout(0, Qt::Vertical ); + groupBox4->setColumnLayout(0, TQt::Vertical ); groupBox4->layout()->setSpacing( 6 ); groupBox4->layout()->setMargin( 6 ); groupBox4Layout = new TQVBoxLayout( groupBox4->layout() ); diff --git a/kplato/kptcanvasitem.cpp b/kplato/kptcanvasitem.cpp index 152fd837..a792443d 100644 --- a/kplato/kptcanvasitem.cpp +++ b/kplato/kptcanvasitem.cpp @@ -587,7 +587,7 @@ void PertRelationItem::drawShape(TQPainter &p) { //kdDebug()<<k_funcinfo<<" "<<m_rel->parent()->name()<<" to "<<m_rel->child()->name()<<endl; // cannot use polygon's drawShape() as it doesn't use the pen - setBrush(Qt::NoBrush); + setBrush(TQt::NoBrush); TQPointArray a = poly; int size = a.size()-1; for(int i = 0; i < size; ++i) @@ -611,7 +611,7 @@ TQPointArray PertRelationItem::areaPoints () const TQPointArray pa(4); int pw = (pen().width()+1)/2; if ( pw < 1 ) pw = 1; - if ( pen() == Qt::NoPen ) pw = 0; + if ( pen() == TQt::NoPen ) pw = 0; pa[0] = TQPoint(left-pw,top-pw); pa[1] = pa[0] + TQPoint(right-left+pw*2,0); pa[2] = pa[1] + TQPoint(0,bottom-top+pw*2); 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()) { diff --git a/kplato/kptdatetable.cpp b/kplato/kptdatetable.cpp index 7184350e..0f07b748 100644 --- a/kplato/kptdatetable.cpp +++ b/kplato/kptdatetable.cpp @@ -447,7 +447,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) { DateMap::ConstIterator it; for (it = m_selectedDates.constBegin(); it != m_selectedDates.constEnd(); ++it) { //kdDebug()<<k_funcinfo<<it.key()<<endl; - TQDate d = TQDate::fromString(it.key(), Qt::ISODate); + TQDate d = TQDate::fromString(it.key(), TQt::ISODate); if (!d.isValid()) continue; if (!first.isValid() || first > d) @@ -461,7 +461,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) { TQDate anchor = first < date ? first : last; int i = anchor > date ? -1 : 1; while (anchor != date) { - //kdDebug()<<k_funcinfo<<anchor.toString(Qt::ISODate)<<endl; + //kdDebug()<<k_funcinfo<<anchor.toString(TQt::ISODate)<<endl; m_selectedDates.toggle(anchor); anchor = anchor.addDays(i); } @@ -835,7 +835,7 @@ DateInternalMonthPicker::paintCell(TQPainter* painter, int row, int col) void DateInternalMonthPicker::contentsMousePressEvent(TQMouseEvent *e) { - if(!isEnabled() || e->button() != Qt::LeftButton) + if(!isEnabled() || e->button() != TQt::LeftButton) { KNotifyClient::beep(); return; @@ -862,7 +862,7 @@ DateInternalMonthPicker::contentsMousePressEvent(TQMouseEvent *e) void DateInternalMonthPicker::contentsMouseMoveEvent(TQMouseEvent *e) { - if (e->state() & Qt::LeftButton) + if (e->state() & TQt::LeftButton) { int row, col; TQPoint mouseCoord; diff --git a/kplato/kptdatetime.h b/kplato/kptdatetime.h index beef4858..2a06e21b 100644 --- a/kplato/kptdatetime.h +++ b/kplato/kptdatetime.h @@ -58,7 +58,7 @@ public: TQDateTime dt; if (dts.isEmpty()) return DateTime(); - dt = TQDateTime::fromString(dts, Qt::ISODate); + dt = TQDateTime::fromString(dts, TQt::ISODate); if (dt.isValid()) return DateTime(dt); return DateTime(TQDateTime::fromString(dts)); diff --git a/kplato/kptdoublelistviewbase.cpp b/kplato/kptdoublelistviewbase.cpp index d6bc73d4..e2c54df5 100644 --- a/kplato/kptdoublelistviewbase.cpp +++ b/kplato/kptdoublelistviewbase.cpp @@ -51,7 +51,7 @@ void ListView::paintToPrinter(TQPainter * p, int cx, int cy, int cw, int ch) { p->setClipRegion(r.intersect(TQRegion(cx, 0, cw, ch)), TQPainter::CoordPainter); TQColor bgc(193, 223, 255); TQBrush bg(bgc); - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); p->setBackgroundColor(bgc); TQHeader *h = header(); int hei = 0; @@ -348,7 +348,7 @@ DoubleListViewBase::DoubleListViewBase(TQWidget *parent, bool description) m_fmt('f'), m_prec(0) { - setOrientation(Qt::Horizontal); + setOrientation(TQt::Horizontal); setHandleWidth(TQMIN(2, handleWidth())); m_masterList = new ListView(this); diff --git a/kplato/kptganttview.cpp b/kplato/kptganttview.cpp index b84bbbc4..63a1383d 100644 --- a/kplato/kptganttview.cpp +++ b/kplato/kptganttview.cpp @@ -87,7 +87,7 @@ GanttView::GanttView(TQWidget *parent, bool readWrite, const char* name) m_project(0) { kdDebug() << " ---------------- KPlato: Creating GanttView ----------------" << endl; - setOrientation(Qt::Vertical); + setOrientation(TQt::Vertical); m_gantt = new MyKDGanttView(this, "Gantt view"); diff --git a/kplato/kptmap.h b/kplato/kptmap.h index 134eeac7..18e83a0c 100644 --- a/kplato/kptmap.h +++ b/kplato/kptmap.h @@ -43,7 +43,7 @@ public: DateMap() {} virtual ~DateMap() {} - virtual bool contains(TQDate date) const { return DateMapType::contains(date.toString(Qt::ISODate)); } + virtual bool contains(TQDate date) const { return DateMapType::contains(date.toString(TQt::ISODate)); } void insert(TQString date, int state=Map::NonWorking) { //kdDebug()<<k_funcinfo<<date<<"="<<state<<endl; @@ -52,11 +52,11 @@ public: else DateMapType::insert(date, state); } - void insert(TQDate date, int state=Map::NonWorking) { insert(date.toString(Qt::ISODate), state); } + void insert(TQDate date, int state=Map::NonWorking) { insert(date.toString(TQt::ISODate), state); } void remove(TQDate date) { - //kdDebug()<<k_funcinfo<<date.toString(Qt::ISODate)<<endl; - DateMapType::remove(date.toString(Qt::ISODate)); + //kdDebug()<<k_funcinfo<<date.toString(TQt::ISODate)<<endl; + DateMapType::remove(date.toString(TQt::ISODate)); } int state(TQString date) { @@ -64,7 +64,7 @@ public: if (it == end()) return 0; else return it.data(); } - int state(TQDate date) { return state(date.toString(Qt::ISODate)); } + int state(TQDate date) { return state(date.toString(TQt::ISODate)); } bool operator==(const DateMap &m) const { return keys() == m.keys() && values() == m.values(); @@ -81,14 +81,14 @@ public: else DateMapType::insert(date, state); } - void toggle(TQDate date, int state=Map::NonWorking) { return toggle(date.toString(Qt::ISODate)); } + void toggle(TQDate date, int state=Map::NonWorking) { return toggle(date.toString(TQt::ISODate)); } void toggleClear(TQString date, int state=Map::NonWorking) { //kdDebug()<<k_funcinfo<<date<<"="<<state<<endl; bool s = DateMapType::contains(date); clear(); if (!s) insert(date, state); } - void toggleClear(TQDate date, int state=Map::NonWorking) { toggleClear(date.toString(Qt::ISODate)); } + void toggleClear(TQDate date, int state=Map::NonWorking) { toggleClear(date.toString(TQt::ISODate)); } }; typedef TQMap<int, int> IntMapType; diff --git a/kplato/kptpertcanvas.cpp b/kplato/kptpertcanvas.cpp index 9d12945c..55e8c36e 100644 --- a/kplato/kptpertcanvas.cpp +++ b/kplato/kptpertcanvas.cpp @@ -301,11 +301,11 @@ void PertCanvas::contentsMousePressEvent ( TQMouseEvent * e ) //kdDebug()<<k_funcinfo<<" gl.X,gl.Y="<<e->globalX()<<","<<e->globalY()<<" x,y="<<e->x()<<","<<e->y()<<endl; switch (e->button()) { - case Qt::LeftButton: + case TQt::LeftButton: { break; } - case Qt::RightButton: + case TQt::RightButton: { PertNodeItem *item = selectedItem(); if (item) @@ -335,7 +335,7 @@ void PertCanvas::contentsMousePressEvent ( TQMouseEvent * e ) } break; } - case Qt::MidButton: + case TQt::MidButton: break; default: break; @@ -347,7 +347,7 @@ void PertCanvas::contentsMouseReleaseEvent ( TQMouseEvent * e ) //kdDebug()<<k_funcinfo<<" gl.X,gl.Y="<<e->globalX()<<","<<e->globalY()<<" x,y="<<e->x()<<","<<e->y()<<endl; switch (e->button()) { - case Qt::LeftButton: + case TQt::LeftButton: { bool hit = false; TQCanvasItemList l = canvas()->collisions(e->pos()); @@ -393,11 +393,11 @@ void PertCanvas::contentsMouseReleaseEvent ( TQMouseEvent * e ) canvas()->update(); break; } - case Qt::RightButton: + case TQt::RightButton: { break; } - case Qt::MidButton: + case TQt::MidButton: break; default: break; diff --git a/kplato/kptproject.cpp b/kplato/kptproject.cpp index 97eb8202..fc7cf3d7 100644 --- a/kplato/kptproject.cpp +++ b/kplato/kptproject.cpp @@ -471,8 +471,8 @@ void Project::save(TQDomElement &element) const { //me.setAttribute("baselined",(int)m_baselined); FIXME: Removed for this release me.setAttribute("scheduling",constraintToString()); - me.setAttribute("start-time", m_constraintStartTime.toString(Qt::ISODate)); - me.setAttribute("end-time", m_constraintEndTime.toString(Qt::ISODate)); + me.setAttribute("start-time", m_constraintStartTime.toString(TQt::ISODate)); + me.setAttribute("end-time", m_constraintEndTime.toString(TQt::ISODate)); m_accounts.save(me); diff --git a/kplato/kptresource.cpp b/kplato/kptresource.cpp index 763c0c86..3b3be7a2 100644 --- a/kplato/kptresource.cpp +++ b/kplato/kptresource.cpp @@ -378,8 +378,8 @@ void Resource::save(TQDomElement &element) const { me.setAttribute("email", m_email); me.setAttribute("type", typeToString()); me.setAttribute("units", m_units); - me.setAttribute("available-from", m_availableFrom.toString(Qt::ISODate)); - me.setAttribute("available-until", m_availableUntil.toString(Qt::ISODate)); + me.setAttribute("available-from", m_availableFrom.toString(TQt::ISODate)); + me.setAttribute("available-until", m_availableUntil.toString(TQt::ISODate)); me.setAttribute("normal-rate", TDEGlobal::locale()->formatMoney(cost.normalRate)); me.setAttribute("overtime-rate", TDEGlobal::locale()->formatMoney(cost.overtimeRate)); } diff --git a/kplato/kptresourceview.cpp b/kplato/kptresourceview.cpp index c20b9fd2..fd07757e 100644 --- a/kplato/kptresourceview.cpp +++ b/kplato/kptresourceview.cpp @@ -59,7 +59,7 @@ public: p->save(); TQColor bgc(193, 223, 255); TQBrush bg(bgc); - p->setBackgroundMode(Qt::OpaqueMode); + p->setBackgroundMode(TQt::OpaqueMode); p->setBackgroundColor(bgc); TQHeader *head = header(); int offset = 0; @@ -372,7 +372,7 @@ ResourceView::ResourceView(View *view, TQWidget *parent) m_selectedItem(0), m_currentNode(0) { - setOrientation(Qt::Vertical); + setOrientation(TQt::Vertical); resList = new ResListView(this, "Resource list"); resList->setItemMargin(2); diff --git a/kplato/kptschedule.cpp b/kplato/kptschedule.cpp index 7581312e..c5786184 100644 --- a/kplato/kptschedule.cpp +++ b/kplato/kptschedule.cpp @@ -431,17 +431,17 @@ void NodeSchedule::saveXML(TQDomElement &element) const { saveCommonXML(sch); if (earliestStart.isValid()) - sch.setAttribute("earlieststart",earliestStart.toString(Qt::ISODate)); + sch.setAttribute("earlieststart",earliestStart.toString(TQt::ISODate)); if (latestFinish.isValid()) - sch.setAttribute("latestfinish",latestFinish.toString(Qt::ISODate)); + sch.setAttribute("latestfinish",latestFinish.toString(TQt::ISODate)); if (startTime.isValid()) - sch.setAttribute("start",startTime.toString(Qt::ISODate)); + sch.setAttribute("start",startTime.toString(TQt::ISODate)); if (endTime.isValid()) - sch.setAttribute("end",endTime.toString(Qt::ISODate)); + sch.setAttribute("end",endTime.toString(TQt::ISODate)); if (workStartTime.isValid()) - sch.setAttribute("start-work", workStartTime.toString(Qt::ISODate)); + sch.setAttribute("start-work", workStartTime.toString(TQt::ISODate)); if (workEndTime.isValid()) - sch.setAttribute("end-work", workEndTime.toString(Qt::ISODate)); + sch.setAttribute("end-work", workEndTime.toString(TQt::ISODate)); sch.setAttribute("duration",duration.toString()); @@ -603,8 +603,8 @@ bool MainSchedule::loadXML(const TQDomElement &sch, Project &project) { void MainSchedule::saveXML(TQDomElement &element) const { saveCommonXML(element); - element.setAttribute("start",startTime.toString(Qt::ISODate)); - element.setAttribute("end",endTime.toString(Qt::ISODate)); + element.setAttribute("start",startTime.toString(TQt::ISODate)); + element.setAttribute("end",endTime.toString(TQt::ISODate)); } #ifndef NDEBUG diff --git a/kplato/kpttask.cpp b/kplato/kpttask.cpp index 4e41e6bc..7392ceb7 100644 --- a/kplato/kpttask.cpp +++ b/kplato/kpttask.cpp @@ -289,8 +289,8 @@ void Task::save(TQDomElement &element) const { me.setAttribute("description", m_description); me.setAttribute("scheduling",constraintToString()); - me.setAttribute("constraint-starttime",m_constraintStartTime.toString(Qt::ISODate)); - me.setAttribute("constraint-endtime",m_constraintEndTime.toString(Qt::ISODate)); + me.setAttribute("constraint-starttime",m_constraintStartTime.toString(TQt::ISODate)); + me.setAttribute("constraint-endtime",m_constraintEndTime.toString(TQt::ISODate)); me.setAttribute("startup-cost", m_startupCost); me.setAttribute("shutdown-cost", m_shutdownCost); @@ -303,8 +303,8 @@ void Task::save(TQDomElement &element) const { me.appendChild(el); el.setAttribute("started", m_progress.started); el.setAttribute("finished", m_progress.finished); - el.setAttribute("startTime", m_progress.startTime.toString(Qt::ISODate)); - el.setAttribute("finishTime", m_progress.finishTime.toString(Qt::ISODate)); + el.setAttribute("startTime", m_progress.startTime.toString(TQt::ISODate)); + el.setAttribute("finishTime", m_progress.finishTime.toString(TQt::ISODate)); el.setAttribute("percent-finished", m_progress.percentFinished); el.setAttribute("remaining-effort", m_progress.remainingEffort.toString()); el.setAttribute("performed-effort", m_progress.totalPerformed.toString()); |