summaryrefslogtreecommitdiffstats
path: root/kplato/kpttaskappointmentsview.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kpttaskappointmentsview.ui.h')
-rw-r--r--kplato/kpttaskappointmentsview.ui.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kplato/kpttaskappointmentsview.ui.h b/kplato/kpttaskappointmentsview.ui.h
index 5fb80e1a0..7e090fb7a 100644
--- a/kplato/kpttaskappointmentsview.ui.h
+++ b/kplato/kpttaskappointmentsview.ui.h
@@ -2,7 +2,7 @@
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions or slots use
-** Qt Designer which will update this file, preserving your code. Create an
+** TQt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/
@@ -54,10 +54,10 @@ void TaskAppointmentsView::draw(Task *task)
return;
m_taskName->setText(task->name());
- QPtrListIterator<Appointment> it(task->appointments());
+ TQPtrListIterator<Appointment> it(task->appointments());
for (; it.current(); ++it) {
Resource *r = it.current()->resource();
- QListViewItem *item = new QListViewItem(m_appList, r->name());
+ TQListViewItem *item = new TQListViewItem(m_appList, r->name());
int i = 1;
item->setText(i++, r->typeToString());
item->setText(i++, it.current()->startTime().date().toString(ISODate));
@@ -66,9 +66,9 @@ void TaskAppointmentsView::draw(Task *task)
item->setText(i++, KGlobal::locale()->formatMoney(r->normalRate()));
item->setText(i++, KGlobal::locale()->formatMoney(r->overtimeRate()));
item->setText(i++, KGlobal::locale()->formatMoney(r->fixedCost()));
- QPtrListIterator<AppointmentInterval> ait = it.current()->intervals();
+ TQPtrListIterator<AppointmentInterval> ait = it.current()->intervals();
for (; ait.current(); ++ait) {
- QListViewItem *sub = new QListViewItem(item, "");
+ TQListViewItem *sub = new TQListViewItem(item, "");
i = 1;
sub->setText(i++, "");
sub->setText(i++, ait.current()->startTime().date().toString(ISODate));
@@ -90,7 +90,7 @@ void TaskAppointmentsView::init()
m_appList->setColumnAlignment(6, AlignRight);
m_task = 0;
- m_date->setDate(QDate::currentDate());
+ m_date->setDate(TQDate::tqcurrentDate());
}
@@ -106,8 +106,8 @@ void TaskAppointmentsView::drawCostEffort()
m_plannedEffort->setText(m_task->plannedEffortTo(m_date->date()).toString(Duration::Format_HourFraction));
m_plannedEffortTotal->setText(m_task->plannedEffort().toString(Duration::Format_HourFraction));
- m_epi->setText(QString("%1").arg(m_task->effortPerformanceIndex(m_date->date()),3,'f',2));
- m_cpi->setText(QString("%1").arg(m_task->costPerformanceIndex(m_date->date()),3,'f',2));
+ m_epi->setText(TQString("%1").tqarg(m_task->effortPerformanceIndex(m_date->date()),3,'f',2));
+ m_cpi->setText(TQString("%1").tqarg(m_task->costPerformanceIndex(m_date->date()),3,'f',2));
}