diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kplato | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kplato')
31 files changed, 130 insertions, 130 deletions
diff --git a/kplato/intervalitem.h b/kplato/intervalitem.h index 4e0cb704..3dceb1c1 100644 --- a/kplato/intervalitem.h +++ b/kplato/intervalitem.h @@ -31,7 +31,7 @@ class IntervalItem : public TQListViewItem { public: IntervalItem(TQListView * parent, TQTime start, TQTime end) - : TQListViewItem(parent, TQString("%1 - %2").tqarg(start.toString(), end.toString())), + : TQListViewItem(parent, TQString("%1 - %2").arg(start.toString(), end.toString())), m_start(start), m_end(end) {} diff --git a/kplato/kptaccountsview.cc b/kplato/kptaccountsview.cc index 5fd3c7cd..d2a38927 100644 --- a/kplato/kptaccountsview.cc +++ b/kplato/kptaccountsview.cc @@ -216,8 +216,8 @@ void AccountsView::slotUpdate() { if (m_cumulative) { t += " <b>" + i18n("Cumulative") + "</b> "; } - t += i18n("Cut-off date:%1").tqarg("<b>" + locale->formatDate(m_date, true) + "</b>"); - t += " " + i18n("Periodicity:%1").tqarg("<b>" + periodText(m_period) + "</b>"); + t += i18n("Cut-off date:%1").arg("<b>" + locale->formatDate(m_date, true) + "</b>"); + t += " " + i18n("Periodicity:%1").arg("<b>" + periodText(m_period) + "</b>"); m_label->setText(t); // Add columns for selected period/periods @@ -260,7 +260,7 @@ void AccountsView::slotUpdate() { //kdDebug()<<k_funcinfo<<c<<": "<<dt<<"-"<<pend<<" : "<<end<<endl; int y; int w = cal->weekNumber(dt, &y); - TQString t = i18n("<week>-<year>", "%1-%2").tqarg(w).tqarg(y); + TQString t = i18n("<week>-<year>", "%1-%2").arg(w).arg(y); m_dlv->addSlaveColumn(t); dt = pend.addDays(1); pend = cal->addDays(pend, 7); @@ -305,7 +305,7 @@ void AccountsView::slotUpdate() { cal->setYMD(pend, dt.year(), dt.month(), dt.daysInMonth()); for (; pend <= end; ++c) { //kdDebug()<<k_funcinfo<<c<<": "<<dt<<"-"<<pend<<" : "<<end<<endl; - TQString m = cal->monthName(dt, true) + TQString(" %1").tqarg( dt.year()); + TQString m = cal->monthName(dt, true) + TQString(" %1").arg( dt.year()); m_dlv->addSlaveColumn(m); dt = pend.addDays(1); // 1. next month diff --git a/kplato/kptcalendarpanel.cc b/kplato/kptcalendarpanel.cc index 48b4f9ca..59ab2f01 100644 --- a/kplato/kptcalendarpanel.cc +++ b/kplato/kptcalendarpanel.cc @@ -209,7 +209,7 @@ CalendarPanel::dateChangedSlot(TQDate date) { //kdDebug() << "CalendarPanel::dateChangedSlot: date changed (" << date.year() << "/" << date.month() << "/" << date.day() << ")." << endl; line->setText(KGlobal::locale()->formatDate(date, true)); - d->selectWeek->setText(i18n("Week %1").tqarg(weekOfYear(date))); + d->selectWeek->setText(i18n("Week %1").arg(weekOfYear(date))); selectMonth->setText(KGlobal::locale()->calendar()->monthName(date.month(), false)); selectYear->setText(date.toString("yyyy")); emit(dateChanged(date)); @@ -242,7 +242,7 @@ CalendarPanel::setDate(const TQDate& date) TQString temp; // ----- table->setDate(date); - d->selectWeek->setText(i18n("Week %1").tqarg(weekOfYear(date))); + d->selectWeek->setText(i18n("Week %1").arg(weekOfYear(date))); selectMonth->setText(KGlobal::locale()->calendar()->monthName(date.month(), false)); temp.setNum(date.year()); selectYear->setText(temp); diff --git a/kplato/kptcanvasitem.cc b/kplato/kptcanvasitem.cc index 9cd6654e..837fb48a 100644 --- a/kplato/kptcanvasitem.cc +++ b/kplato/kptcanvasitem.cc @@ -88,7 +88,7 @@ void PertNodeItem::move(PertCanvas *view, int row, int col) m_row = row; m_col = col; view->mapNode(this); - // Now map my tqchildren + // Now map my children TQPtrListIterator<PertNodeRelation> it(m_childRelations); for (; it.current(); ++it) { @@ -708,10 +708,10 @@ void GanttViewSummaryItem::insertRelations(GanttView *view) { KDGanttViewTaskLink *link = new KDGanttViewTaskLink(this, child, kdLinkType(it.current()->type())); //TODO i18n - TQString t = i18n("From: %1").tqarg(this->listViewText(0)); - t += "\n" + i18n("To: %1").tqarg(child->listViewText(0)); + TQString t = i18n("From: %1").arg(this->listViewText(0)); + t += "\n" + i18n("To: %1").arg(child->listViewText(0)); if (it.current()->lag() > Duration::zeroDuration) { - t += "\n" + i18n("Lag: %1").tqarg(it.current()->lag().toString(Duration::Format_i18nDayTime)); + t += "\n" + i18n("Lag: %1").arg(it.current()->lag().toString(Duration::Format_i18nDayTime)); } link->setTooltipText(t); view->addTaskLink(link); @@ -789,10 +789,10 @@ void GanttViewTaskItem::insertRelations(GanttView *view) { KDGanttViewTaskLink *link = new KDGanttViewTaskLink(this, child, kdLinkType(it.current()->type())); //TODO i18n - TQString t = i18n("From: %1").tqarg(this->listViewText(0)); - t += "\n" + i18n("To: %1").tqarg(child->listViewText(0)); + TQString t = i18n("From: %1").arg(this->listViewText(0)); + t += "\n" + i18n("To: %1").arg(child->listViewText(0)); if (it.current()->lag() > Duration::zeroDuration) { - t += "\n" + i18n("Lag: %1").tqarg(it.current()->lag().toString(Duration::Format_i18nDayTime)); + t += "\n" + i18n("Lag: %1").arg(it.current()->lag().toString(Duration::Format_i18nDayTime)); } link->setTooltipText(t); view->addTaskLink(link); @@ -871,10 +871,10 @@ void GanttViewEventItem::insertRelations(GanttView *view) { KDGanttViewTaskLink *link = new KDGanttViewTaskLink(this, child, kdLinkType(it.current()->type())); - TQString t = i18n("From: %1").tqarg(this->listViewText(0)); - t += "\n" + i18n("To: %1").tqarg(child->listViewText(0)); + TQString t = i18n("From: %1").arg(this->listViewText(0)); + t += "\n" + i18n("To: %1").arg(child->listViewText(0)); if (it.current()->lag() > Duration::zeroDuration) { - t += "\n" + i18n("Lag: %1").tqarg(it.current()->lag().toString(Duration::Format_i18nDayTime)); + t += "\n" + i18n("Lag: %1").arg(it.current()->lag().toString(Duration::Format_i18nDayTime)); } link->setTooltipText(t); view->addTaskLink(link); diff --git a/kplato/kptcommand.cc b/kplato/kptcommand.cc index 662c0dd0..992bfb5c 100644 --- a/kplato/kptcommand.cc +++ b/kplato/kptcommand.cc @@ -347,7 +347,7 @@ NodeDeleteCmd::NodeDeleteCmd(Part *part, Node *node, TQString name) for (; it.current(); ++it) { Schedule *s = node->findSchedule(it.current()->id()); if (s && s->isScheduled()) { - // Only tqinvalidate schedules this node is part of + // Only invalidate schedules this node is part of addSchScheduled(it.current()); } } diff --git a/kplato/kptdatetable.cc b/kplato/kptdatetable.cc index 44f91500..2fc19d4f 100644 --- a/kplato/kptdatetable.cc +++ b/kplato/kptdatetable.cc @@ -175,7 +175,7 @@ void DateTable::paintWeekNumber(TQPainter *painter, int row) { painter->drawRect(0, 0, w, h); painter->setPen(KGlobalSettings::textColor()); - painter->drawText(0, 0, w, h-1, AlignCenter, TQString("%1").tqarg(m_weeks[row].first), -1, &rect); + painter->drawText(0, 0, w, h-1, AlignCenter, TQString("%1").arg(m_weeks[row].first), -1, &rect); painter->setPen(colorLine); painter->moveTo(w-1, 0); painter->lineTo(w-1, h-1); @@ -527,7 +527,7 @@ bool DateTable::selectDate(const TQDate& date_) { return true; } -bool DateTable::setDate(const TQDate& date_, bool tqrepaint) { +bool DateTable::setDate(const TQDate& date_, bool repaint) { //kdDebug()<<k_funcinfo<<"date="<<date_.toString()<<endl; bool changed=false; TQDate temp; @@ -562,7 +562,7 @@ bool DateTable::setDate(const TQDate& date_, bool tqrepaint) { m_selectedDates.insert(date); }*/ numDaysPrevMonth=temp.daysInMonth(); - if(changed && tqrepaint) { + if(changed && repaint) { repaintContents(false); } if (m_enabled) @@ -894,7 +894,7 @@ DateInternalMonthPicker::contentsMouseMoveEvent(TQMouseEvent *e) updateCell( row, col /*, false */ ); // mark the new active cell } } - if ( tmpRow > -1 ) // tqrepaint the former active cell + if ( tmpRow > -1 ) // repaint the former active cell updateCell( tmpRow, tmpCol /*, true */ ); } } @@ -1053,7 +1053,7 @@ int PopupFrame::exec(TQPoint pos) { popup(pos); - tqrepaint(); + repaint(); tqApp->enter_loop(); hide(); return result; diff --git a/kplato/kptdatetable.h b/kplato/kptdatetable.h index 9cd992e3..b75f98db 100644 --- a/kplato/kptdatetable.h +++ b/kplato/kptdatetable.h @@ -278,7 +278,7 @@ public: /** * Select and display this date. */ - bool setDate(const TQDate&, bool tqrepaint=true); + bool setDate(const TQDate&, bool repaint=true); const TQDate& getDate() const; bool selectDate(const TQDate& date_); diff --git a/kplato/kptdoublelistviewbase.cc b/kplato/kptdoublelistviewbase.cc index 23c0c80b..4a04c1b0 100644 --- a/kplato/kptdoublelistviewbase.cc +++ b/kplato/kptdoublelistviewbase.cc @@ -128,7 +128,7 @@ void DoubleListViewBase::SlaveListItem::clearColumn(int col) { } void DoubleListViewBase::SlaveListItem::setColumn(int col, double value) { if (col < listView()->columns()) { - //setText(col, TQString("%1").tqarg(value, m_fieldwidth, m_fmt, m_prec)); + //setText(col, TQString("%1").arg(value, m_fieldwidth, m_fmt, m_prec)); setText(col, KGlobal::locale()->formatNumber(value, m_prec)); m_valueMap.replace(col, value); //kdDebug()<<k_funcinfo<<m_masterItem->text(0)<<": column["<<col<<"]="<<value<<endl; @@ -240,14 +240,14 @@ void DoubleListViewBase::MasterListItem::slaveItemDeleted() { void DoubleListViewBase::MasterListItem::setTotal(double tot) { m_value = tot; - //setText(1, TQString("%1").tqarg(tot, m_fieldwidth, m_fmt, m_prec)); + //setText(1, TQString("%1").arg(tot, m_fieldwidth, m_fmt, m_prec)); setText(1, KGlobal::locale()->formatNumber(tot, m_prec)); //kdDebug()<<k_funcinfo<<text(0)<<"="<<tot<<endl; } void DoubleListViewBase::MasterListItem::addToTotal(double v) { m_value += v; - //setText(1, TQString("%1").tqarg(m_value, m_fieldwidth, m_fmt, m_prec)); + //setText(1, TQString("%1").arg(m_value, m_fieldwidth, m_fmt, m_prec)); setText(1, KGlobal::locale()->formatNumber(m_value, m_prec)); } diff --git a/kplato/kptdoublelistviewbase.h b/kplato/kptdoublelistviewbase.h index e56b21b9..6b610475 100644 --- a/kplato/kptdoublelistviewbase.h +++ b/kplato/kptdoublelistviewbase.h @@ -125,7 +125,7 @@ public: MasterListItem(TQListViewItem *parent, TQString text, bool highlight=false); ~MasterListItem(); - /// Creates slaveitems for myself and my tqchildren + /// Creates slaveitems for myself and my children void createSlaveItems(TQListView *lv, TQListViewItem *after=0); void slaveItemDeleted(); void setSlaveOpen(bool on); diff --git a/kplato/kptduration.cc b/kplato/kptduration.cc index 5e9d6b44..0a2296b0 100644 --- a/kplato/kptduration.cc +++ b/kplato/kptduration.cc @@ -129,11 +129,11 @@ TQString Duration::toString(Format format) const { hours = ms / (1000 * 60 * 60); ms -= (TQ_INT64)hours * (1000 * 60 * 60); minutes = ms / (1000 * 60); - result = TQString("%1h%2m").tqarg(hours).tqarg(minutes); + result = TQString("%1h%2m").arg(hours).arg(minutes); break; case Format_Day: days = m_ms / (1000 * 60 * 60 * 24.0); - result = TQString("%1d").tqarg(TQString::number(days, 'f', 4)); + result = TQString("%1d").arg(TQString::number(days, 'f', 4)); break; case Format_DayTime: ms = m_ms; @@ -156,7 +156,7 @@ TQString Duration::toString(Format format) const { hours = ms / (1000 * 60 * 60); ms -= (TQ_INT64)hours * (1000 * 60 * 60); minutes = ms / (1000 * 60); - result = i18n("<hours>h:<minutes>m", "%1h:%2m").tqarg(hours).tqarg(minutes); + result = i18n("<hours>h:<minutes>m", "%1h:%2m").arg(hours).arg(minutes); break; case Format_i18nDay: result = KGlobal::locale()->formatNumber(toDouble(Unit_d), 2); @@ -174,7 +174,7 @@ TQString Duration::toString(Format format) const { if (days == 0) { result = toString(Format_i18nHour); } else { - result = i18n("<days>d <hours>h:<minutes>m", "%1d %2h:%3m").tqarg(days).tqarg(hours).tqarg(minutes); + result = i18n("<days>d <hours>h:<minutes>m", "%1d %2h:%3m").arg(days).arg(hours).arg(minutes); } break; case Format_i18nHourFraction: diff --git a/kplato/kptdurationwidget.ui b/kplato/kptdurationwidget.ui index e437fa58..74018692 100644 --- a/kplato/kptdurationwidget.ui +++ b/kplato/kptdurationwidget.ui @@ -125,7 +125,7 @@ <property name="frame"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignRight</set> </property> </widget> @@ -175,7 +175,7 @@ <property name="frame"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignRight</set> </property> </widget> @@ -214,7 +214,7 @@ <property name="frame"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignRight</set> </property> </widget> @@ -264,7 +264,7 @@ <property name="frame"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignRight</set> </property> </widget> @@ -320,7 +320,7 @@ <property name="frame"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignRight</set> </property> </widget> diff --git a/kplato/kptganttview.cc b/kplato/kptganttview.cc index e37ab194..28ef7a57 100644 --- a/kplato/kptganttview.cc +++ b/kplato/kptganttview.cc @@ -322,7 +322,7 @@ void GanttView::resetDrawn(KDGanttViewItem *_item) for (; item; item = nextItem) { nextItem = item->nextSibling(); setDrawn(item, false); - resetDrawn(item->firstChild()); // then my tqchildren + resetDrawn(item->firstChild()); // then my children } } @@ -336,7 +336,7 @@ void GanttView::removeNotDrawn(KDGanttViewItem *_item) m_currentItem = 0; deleteItem(item); } else { - removeNotDrawn(item->firstChild()); // then my tqchildren + removeNotDrawn(item->firstChild()); // then my children } } } @@ -502,10 +502,10 @@ void GanttView::modifySummaryTask(KDGanttViewItem *item, Task *task) } else { item->setText(TQString()); } - TQString w = i18n("Name: %1").tqarg(task->name()); + TQString w = i18n("Name: %1").arg(task->name()); if (!task->notScheduled()) { - w += "\n" + i18n("Start: %1").tqarg(locale->formatDateTime(task->startTime())); - w += "\n" + i18n("End: %1").tqarg(locale->formatDateTime(task->endTime())); + w += "\n" + i18n("Start: %1").arg(locale->formatDateTime(task->startTime())); + w += "\n" + i18n("End: %1").arg(locale->formatDateTime(task->endTime())); } bool ok = true; if (task->notScheduled()) { @@ -582,15 +582,15 @@ void GanttView::modifyTask(KDGanttViewItem *item, Task *task) item->setFloatStartTime(TQDateTime()); item->setFloatEndTime(TQDateTime()); } - TQString w = i18n("Name: %1").tqarg(task->name()); + TQString w = i18n("Name: %1").arg(task->name()); if (!task->notScheduled()) { - w += "\n"; w += i18n("Start: %1").tqarg(locale->formatDateTime(task->startTime())); - w += "\n"; w += i18n("End: %1").tqarg(locale->formatDateTime(task->endTime())); + w += "\n"; w += i18n("Start: %1").arg(locale->formatDateTime(task->startTime())); + w += "\n"; w += i18n("End: %1").arg(locale->formatDateTime(task->endTime())); if (m_showProgress) { - w += "\n"; w += i18n("Completion: %1%").tqarg(task->progress().percentFinished); + w += "\n"; w += i18n("Completion: %1%").arg(task->progress().percentFinished); } if (task->positiveFloat() > Duration::zeroDuration) { - w += "\n" + i18n("Float: %1").tqarg(task->positiveFloat().toString(Duration::Format_i18nDayTime)); + w += "\n" + i18n("Float: %1").arg(task->positiveFloat().toString(Duration::Format_i18nDayTime)); } if (task->inCriticalPath()) { w += "\n" + i18n("Critical path"); @@ -623,7 +623,7 @@ void GanttView::modifyTask(KDGanttViewItem *item, Task *task) if (task->resourceOverbooked()) { ok = false; TQStringList rl = task->overbookedResources(); - sts += "\n" + i18n("arg: list of resources", "Resource overbooked: %1").tqarg(rl.join(",")); + sts += "\n" + i18n("arg: list of resources", "Resource overbooked: %1").arg(rl.join(",")); } if (!m_showNoInformation && m_project && m_project->notScheduled()) { @@ -684,12 +684,12 @@ void GanttView::modifyMilestone(KDGanttViewItem *item, Task *task) } //TODO: Show progress - TQString w = i18n("Name: %1").tqarg(task->name()); + TQString w = i18n("Name: %1").arg(task->name()); if (!task->notScheduled()) { - w += "\n" + i18n("Time: %1").tqarg(locale->formatDateTime(task->startTime())); + w += "\n" + i18n("Time: %1").arg(locale->formatDateTime(task->startTime())); if (task->positiveFloat() > Duration::zeroDuration) { - w += "\n" + i18n("Float: %1").tqarg(task->positiveFloat().toString(Duration::Format_i18nDayTime)); + w += "\n" + i18n("Float: %1").arg(task->positiveFloat().toString(Duration::Format_i18nDayTime)); } if (task->inCriticalPath()) { w += "\n" + i18n("Critical path"); diff --git a/kplato/kptmainprojectpanel.cc b/kplato/kptmainprojectpanel.cc index 222ca0a9..29f2195e 100644 --- a/kplato/kptmainprojectpanel.cc +++ b/kplato/kptmainprojectpanel.cc @@ -62,7 +62,7 @@ MainProjectPanel::MainProjectPanel(Project &p, TQWidget *parent, const char *nam TQString s = i18n("Scheduling"); Schedule *sch = project.currentSchedule(); if (sch) { - s = i18n("Scheduling (%1)").tqarg(sch->typeToString(true)); + s = i18n("Scheduling (%1)").arg(sch->typeToString(true)); } schedulingGroup->setTitle(s); if (project.constraint() == Node::MustStartOn) { diff --git a/kplato/kptmainprojectpanelbase.ui b/kplato/kptmainprojectpanelbase.ui index 108c6f14..e711ca64 100644 --- a/kplato/kptmainprojectpanelbase.ui +++ b/kplato/kptmainprojectpanelbase.ui @@ -46,7 +46,7 @@ <property name="text"> <string>&Leader:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter</set> </property> <property name="buddy" stdset="0"> diff --git a/kplato/kptnode.cc b/kplato/kptnode.cc index 9f8d5a0d..c95a1c9b 100644 --- a/kplato/kptnode.cc +++ b/kplato/kptnode.cc @@ -942,7 +942,7 @@ int Effort::pessimisticRatio() const { // Debugging #ifndef NDEBUG -void Node::printDebug(bool tqchildren, TQCString indent) { +void Node::printDebug(bool children, TQCString indent) { kdDebug()<<indent<<" Unique node identity="<<m_id<<endl; if (m_effort) m_effort->printDebug(indent); TQString s = " Constraint: " + constraintToString(); @@ -972,7 +972,7 @@ void Node::printDebug(bool tqchildren, TQCString indent) { } kdDebug()<<indent<<" No of successors: "<<m_dependChildNodes.count()<<endl; TQPtrListIterator<Relation> cit(m_dependChildNodes); - //kdDebug()<<indent<<" Dependant tqchildren="<<cit.count()<<endl; + //kdDebug()<<indent<<" Dependant children="<<cit.count()<<endl; if (cit.count() > 0) { for ( ; cit.current(); ++cit ) { cit.current()->printDebug(indent); @@ -981,7 +981,7 @@ void Node::printDebug(bool tqchildren, TQCString indent) { //kdDebug()<<indent<<endl; indent += " "; - if (tqchildren) { + if (children) { TQPtrListIterator<Node> it(m_nodes); for ( ; it.current(); ++it ) { it.current()->printDebug(true,indent); diff --git a/kplato/kptnode.h b/kplato/kptnode.h index 95d7c24b..10c5613f 100644 --- a/kplato/kptnode.h +++ b/kplato/kptnode.h @@ -91,7 +91,7 @@ public: virtual bool load(TQDomElement &) { return true; } virtual bool load(TQDomElement &, Project &) { return true; } virtual void save(TQDomElement &element) const = 0; - /// Save my and my tqchildrens relations. + /// Save my and my childrens relations. virtual void saveRelations(TQDomElement &element) const; // simple child node management @@ -458,7 +458,7 @@ public: void setRunningAccount(Account *acc) { m_runningAccount = acc; } Schedule *currentSchedule() const { return m_currentSchedule; } - /// Set current schedule to schedule with identity id, for me and my tqchildren + /// Set current schedule to schedule with identity id, for me and my children virtual void setCurrentSchedule(long id); // NOTE: Cannot use setCurrentSchedule() due to overload/casting problems void setCurrentSchedulePtr(Schedule *schedule) { m_currentSchedule = schedule; } @@ -541,7 +541,7 @@ private: #ifndef NDEBUG public: - virtual void printDebug(bool tqchildren, TQCString indent); + virtual void printDebug(bool children, TQCString indent); #endif }; diff --git a/kplato/kptpart.cc b/kplato/kptpart.cc index e442c048..7ff06084 100644 --- a/kplato/kptpart.cc +++ b/kplato/kptpart.cc @@ -198,14 +198,14 @@ bool Part::loadXML(TQIODevice *, const TQDomDocument &document) { } else if (value != "application/x-vnd.kde.kplato") { kdError() << "Unknown mime type " << value << endl; - setErrorMessage(i18n("Invalid document. Expected mimetype application/x-vnd.kde.kplato, got %1").tqarg(value)); + setErrorMessage(i18n("Invalid document. Expected mimetype application/x-vnd.kde.kplato, got %1").arg(value)); return false; } TQString m_syntaxVersion = plan.attribute("version", CURRENT_SYNTAX_VERSION); if (m_syntaxVersion > CURRENT_SYNTAX_VERSION) { int ret = KMessageBox::warningContinueCancel( 0, i18n("This document was created with a newer version of KPlato (syntax version: %1)\n" - "Opening it in this version of KPlato will lose some information.").tqarg(m_syntaxVersion), + "Opening it in this version of KPlato will lose some information.").arg(m_syntaxVersion), i18n("File-Format Mismatch"), i18n("Continue") ); if (ret == KMessageBox::Cancel) { diff --git a/kplato/kptpertcanvas.cc b/kplato/kptpertcanvas.cc index b1f49afb..efa57f2e 100644 --- a/kplato/kptpertcanvas.cc +++ b/kplato/kptpertcanvas.cc @@ -83,7 +83,7 @@ void PertCanvas::draw(Project& project) if (!(it.current()->hasParent()) && it.current()->hasChild()) { m_rows.append(new TQMemArray<bool>(1)); // New node always goes into new row, first column - it.current()->move(this, m_rows.count()-1, 0); // item also moves it's tqchildren + it.current()->move(this, m_rows.count()-1, 0); // item also moves it's children } } // now items without relations @@ -140,7 +140,7 @@ void PertCanvas::createChildItems(PertNodeItem *parentItem) m_relations.append(it.current()); } - // Now my tqchildren + // Now my children TQPtrListIterator<Node> nit(parentItem->node().childNodeIterator()); for ( ; nit.current(); ++nit ) { createChildItems(createNodeItem(nit.current())); diff --git a/kplato/kptproject.cc b/kplato/kptproject.cc index 13c44cb3..97eb8202 100644 --- a/kplato/kptproject.cc +++ b/kplato/kptproject.cc @@ -308,7 +308,7 @@ bool Project::load(TQDomElement &element) { if (!s.isEmpty()) m_constraintEndTime = DateTime::fromString(s); - // Load the project tqchildren + // Load the project children // Must do these first TQDomNodeList list = element.childNodes(); for (unsigned int i=0; i<list.count(); ++i) { @@ -498,7 +498,7 @@ void Project::save(TQDomElement &element) const { } for (int i=0; i<numChildren(); i++) - // Save all tqchildren + // Save all children getChildNode(i)->save(me); // Now we can save relations assuming no tasks have relations outside the project @@ -568,7 +568,7 @@ bool Project::addTask( Node* task, Node* position ) return addSubTask(task, position); } // find the position - // we have to tell the parent that we want to delete one of its tqchildren + // we have to tell the parent that we want to delete one of its children Node* parentNode = position->getParent(); if ( !parentNode ) { kdDebug()<<k_funcinfo<<"parent node not found???"<<endl; @@ -636,7 +636,7 @@ bool Project::canIndentTask(Node* node) //kdDebug()<<k_funcinfo<<"The root node cannot be indented"<<endl; return false; } - // we have to find the parent of task to manipulate its list of tqchildren + // we have to find the parent of task to manipulate its list of children Node* parentNode = node->getParent(); if ( !parentNode ) { return false; @@ -679,7 +679,7 @@ bool Project::canUnindentTask( Node* node ) //kdDebug()<<k_funcinfo<<"The root node cannot be unindented"<<endl; return false; } - // we have to find the parent of task to manipulate its list of tqchildren + // we have to find the parent of task to manipulate its list of children // and we need the parent's parent too Node* parentNode = node->getParent(); if ( !parentNode ) { @@ -714,7 +714,7 @@ bool Project::canMoveTaskUp( Node* node ) { if (node == 0) return false; // safety - // we have to find the parent of task to manipulate its list of tqchildren + // we have to find the parent of task to manipulate its list of children Node* parentNode = node->getParent(); if (!parentNode) { //kdDebug()<<k_funcinfo<<"No parent found"<<endl; @@ -742,7 +742,7 @@ bool Project::canMoveTaskDown( Node* node ) { if (node == 0) return false; // safety - // we have to find the parent of task to manipulate its list of tqchildren + // we have to find the parent of task to manipulate its list of children Node* parentNode = node->getParent(); if (!parentNode) { return false; @@ -779,10 +779,10 @@ Task *Project::createTask(Task &def, Node* parent) { TQString Project::uniqueNodeId(int seed) { int i = seed; - while (findNode(TQString("%1").tqarg(i))) { + while (findNode(TQString("%1").arg(i))) { ++i; } - return TQString("%1").tqarg(i); + return TQString("%1").arg(i); } bool Project::removeId(const TQString &id) { @@ -987,7 +987,7 @@ void Project::setStandardWorktime(StandardWorktime * worktime) { } bool Project::legalToLink(Node *par, Node *child) { - //kdDebug()<<k_funcinfo<<par.name()<<" ("<<par.numDependParentNodes()<<" parents) "<<child.name()<<" ("<<child.numDependChildNodes()<<" tqchildren)"<<endl; + //kdDebug()<<k_funcinfo<<par.name()<<" ("<<par.numDependParentNodes()<<" parents) "<<child.name()<<" ("<<child.numDependChildNodes()<<" children)"<<endl; if (!child || par->isDependChildOf(child)) { return false; @@ -1007,7 +1007,7 @@ bool Project::legalToLink(Node *par, Node *child) { bool Project::legalParents(Node *par, Node *child) { bool legal = true; - //kdDebug()<<k_funcinfo<<par->name()<<" ("<<par->numDependParentNodes()<<" parents) "<<child->name()<<" ("<<child->numDependChildNodes()<<" tqchildren)"<<endl; + //kdDebug()<<k_funcinfo<<par->name()<<" ("<<par->numDependParentNodes()<<" parents) "<<child->name()<<" ("<<child->numDependChildNodes()<<" children)"<<endl; for (int i=0; i < par->numDependParentNodes() && legal; ++i) { Node *pNode = par->getDependParentNode(i)->parent(); if (child->isParentOf(pNode) || pNode->isParentOf(child)) { @@ -1024,7 +1024,7 @@ bool Project::legalParents(Node *par, Node *child) { bool Project::legalChildren(Node *par, Node *child) { bool legal = true; - //kdDebug()<<k_funcinfo<<par->name()<<" ("<<par->numDependParentNodes()<<" parents) "<<child->name()<<" ("<<child->numDependChildNodes()<<" tqchildren)"<<endl; + //kdDebug()<<k_funcinfo<<par->name()<<" ("<<par->numDependParentNodes()<<" parents) "<<child->name()<<" ("<<child->numDependChildNodes()<<" children)"<<endl; for (int j=0; j < child->numDependChildNodes() && legal; ++j) { Node *cNode = child->getDependChildNode(j)->child(); if (par->isParentOf(cNode) || cNode->isParentOf(par)) { @@ -1079,7 +1079,7 @@ void Project::insertCalendarId(const TQString &id, const Calendar *calendar) { } #ifndef NDEBUG -void Project::printDebug(bool tqchildren, TQCString indent) { +void Project::printDebug(bool children, TQCString indent) { kdDebug()<<indent<<"+ Project node: "<<name()<<endl; indent += "!"; @@ -1087,7 +1087,7 @@ void Project::printDebug(bool tqchildren, TQCString indent) { for ( ; it.current(); ++it) it.current()->printDebug(indent); - Node::printDebug(tqchildren, indent); + Node::printDebug(children, indent); } void Project::printCalendarDebug(TQCString indent) { kdDebug()<<indent<<"-------- Calendars debug printout --------"<<endl; diff --git a/kplato/kptproject.h b/kplato/kptproject.h index 14f03384..d0dd1eb9 100644 --- a/kplato/kptproject.h +++ b/kplato/kptproject.h @@ -223,11 +223,11 @@ public: Accounts &accounts() { return m_accounts; } - /// Set current schedule to schedule with identity id, for me and my tqchildren + /// Set current schedule to schedule with identity id, for me and my children virtual void setCurrentSchedule(long id); /// Create new schedule with unique id. MainSchedule *createSchedule(TQString name, Schedule::Type type); - /// Set parent schedule for my tqchildren + /// Set parent schedule for my children virtual void setParentSchedule(Schedule *sch); protected: @@ -267,7 +267,7 @@ private: #ifndef NDEBUG #include <tqcstring.h> public: - void printDebug(bool tqchildren, TQCString indent); + void printDebug(bool children, TQCString indent); void printCalendarDebug(TQCString indent=""); #ifdef DEBUGPERT static void pert_test(); diff --git a/kplato/kptprojectdialog.cc b/kplato/kptprojectdialog.cc index a45bddf2..c59a12e9 100644 --- a/kplato/kptprojectdialog.cc +++ b/kplato/kptprojectdialog.cc @@ -91,24 +91,24 @@ void ProjectDialog::slotSchedulingChanged(int activated) { switch(activated) { // TODO please provide nice explenations on this. case 0: // ASAP - label = label.tqarg(i18n("As Soon as Possible")); - label = label.tqarg(i18n("Place all events at the earliest possible moment permitted in the schedule")); + label = label.arg(i18n("As Soon as Possible")); + label = label.arg(i18n("Place all events at the earliest possible moment permitted in the schedule")); break; case 1: // ALAP - label = label.tqarg(i18n("As Late as Possible")); - label = label.tqarg(i18n("Place all events at the last possible moment permitted in the schedule")); + label = label.arg(i18n("As Late as Possible")); + label = label.arg(i18n("Place all events at the last possible moment permitted in the schedule")); break; case 2: // Start not earlier then - label = label.tqarg(i18n("Start not Earlier then")); - label = label.tqarg(i18n("")); + label = label.arg(i18n("Start not Earlier then")); + label = label.arg(i18n("")); break; case 3: // Finish not later then - label = label.tqarg(i18n("Finish not Later then")); - label = label.tqarg(i18n("")); + label = label.arg(i18n("Finish not Later then")); + label = label.arg(i18n("")); break; case 4: // Must start on - label = label.tqarg(i18n("Must Start on")); - label = label.tqarg(i18n("")); + label = label.arg(i18n("Must Start on")); + label = label.arg(i18n("")); break; default: // error ... dia->lSchedulingExplain->setText(""); diff --git a/kplato/kptreportview.cc b/kplato/kptreportview.cc index 3bdab2b2..a07ea359 100644 --- a/kplato/kptreportview.cc +++ b/kplato/kptreportview.cc @@ -127,7 +127,7 @@ public: if (tag.section(".", 1, 1) == "availableuntil") return (m_resource ? l->formatDate(m_resource->availableUntil().date(), true) : TQString()); if (tag.section(".", 1, 1) == "units") - return (m_resource ? TQString("%1%").tqarg(m_resource->units()) : TQString()); + return (m_resource ? TQString("%1%").arg(m_resource->units()) : TQString()); if (tag.section(".", 1, 1) == "normalrate") return (m_resource ? l->formatMoney(m_resource->normalRate()) : TQString()); if (tag.section(".", 1, 1) == "overtimerate") @@ -494,11 +494,11 @@ void ReportView::loadTemplate(TQDomDocument &doc) { m_reportTags->m_project = &(mainView()->getPart()->getProject()); // Get all the child report elements - TQDomNodeList tqchildren = tpl.childNodes(); - int childCount = tqchildren.length(); + TQDomNodeList children = tpl.childNodes(); + int childCount = children.length(); for(int j = 0; j < childCount; j++){ - child = tqchildren.item(j); + child = children.item(j); if(child.nodeType() == TQDomNode::ElementNode) { TQDomElement e = child.toElement(); //kdDebug()<<child.nodeName()<<endl; @@ -526,10 +526,10 @@ void ReportView::loadTemplate(TQDomDocument &doc) { void ReportView::handleHeader(TQDomNode &node) { TQDomNode child; - TQDomNodeList tqchildren = node.childNodes(); - int childCount = tqchildren.length(); + TQDomNodeList children = node.childNodes(); + int childCount = children.length(); for (int j = 0; j < childCount; j++) { - child = tqchildren.item(j); + child = children.item(j); if (child.nodeName() == "Label") { TQDomNode n = child.attributes().namedItem("Text"); TQString s = n.nodeValue(); @@ -658,14 +658,14 @@ void ReportView::getTemplateFile(const TQString &tpl) { if (!url.isValid()) { - KMessageBox::sorry(this,i18n("Malformed template filename: %1").tqarg(url.prettyURL())); + KMessageBox::sorry(this,i18n("Malformed template filename: %1").arg(url.prettyURL())); } else { if (KIO::NetAccess::download(url,localtpl,this)) isTemp = true; else - KMessageBox::sorry(this,i18n("Unable to download template file: %1").tqarg(url.prettyURL())); + KMessageBox::sorry(this,i18n("Unable to download template file: %1").arg(url.prettyURL())); } if (!localtpl.isNull()) diff --git a/kplato/kptrequestresourcespanel.cc b/kplato/kptrequestresourcespanel.cc index d65f86e7..bca9a208 100644 --- a/kplato/kptrequestresourcespanel.cc +++ b/kplato/kptrequestresourcespanel.cc @@ -72,7 +72,7 @@ void ResourceTableItem::insert(TQTable *table, int row) { } GroupLVItem::GroupLVItem(TQListView *parent, ResourceGroup *group, Task &task) - : TQListViewItem(parent, group->name(), TQString("%1").tqarg(group->units())), + : TQListViewItem(parent, group->name(), TQString("%1").arg(group->units())), m_group(group), m_units(0) { diff --git a/kplato/kptresourceview.cc b/kplato/kptresourceview.cc index 40d4b7c9..b7544f90 100644 --- a/kplato/kptresourceview.cc +++ b/kplato/kptresourceview.cc @@ -240,7 +240,7 @@ protected: if ( tx < 0 ) tx = header()->cellPos( cell ); - // do any tqchildren of current need to be painted? + // do any children of current need to be painted? /* FIXME: painting branches doesn't work for some reason... if ( ih != ith && rootIsDecorated() && diff --git a/kplato/kpttask.cc b/kplato/kpttask.cc index 964b8e4e..4e41e6bc 100644 --- a/kplato/kpttask.cc +++ b/kplato/kpttask.cc @@ -198,7 +198,7 @@ bool Task::load(TQDomElement &element, Project &project) { m_wbs = element.attribute("wbs", ""); - // Load the project tqchildren + // Load the project children TQDomNodeList list = element.childNodes(); for (unsigned int i=0; i<list.count(); ++i) { if (list.item(i).isElement()) { @@ -570,7 +570,7 @@ void Task::initiateCalculationLists(TQPtrList<Node> &startnodes, TQPtrList<Node> //kdDebug()<<k_funcinfo<<m_name<<endl; if (type() == Node::Type_Summarytask) { summarytasks.append(this); - // propagate my relations to my tqchildren and dependent nodes + // propagate my relations to my children and dependent nodes TQPtrListIterator<Node> nodes = m_nodes; for (; nodes.current(); ++nodes) { @@ -1293,7 +1293,7 @@ void Task::clearProxyRelations() { void Task::addParentProxyRelations(TQPtrList<Relation> &list) { //kdDebug()<<k_funcinfo<<m_name<<endl; if (type() == Type_Summarytask) { - // propagate to my tqchildren + // propagate to my children //kdDebug()<<k_funcinfo<<m_name<<" is summary task"<<endl; TQPtrListIterator<Node> nodes = m_nodes; for (; nodes.current(); ++nodes) { @@ -1315,7 +1315,7 @@ void Task::addParentProxyRelations(TQPtrList<Relation> &list) { void Task::addChildProxyRelations(TQPtrList<Relation> &list) { //kdDebug()<<k_funcinfo<<m_name<<endl; if (type() == Type_Summarytask) { - // propagate to my tqchildren + // propagate to my children //kdDebug()<<k_funcinfo<<m_name<<" is summary task"<<endl; TQPtrListIterator<Node> nodes = m_nodes; for (; nodes.current(); ++nodes) { @@ -1337,7 +1337,7 @@ void Task::addChildProxyRelations(TQPtrList<Relation> &list) { void Task::addParentProxyRelation(Node *node, const Relation *rel) { if (node->type() != Type_Summarytask) { if (type() == Type_Summarytask) { - //kdDebug()<<"Add parent proxy from my tqchildren "<<m_name<<" to "<<node->name()<<endl; + //kdDebug()<<"Add parent proxy from my children "<<m_name<<" to "<<node->name()<<endl; TQPtrListIterator<Node> nodes = m_nodes; for (; nodes.current(); ++nodes) { nodes.current()->addParentProxyRelation(node, rel); @@ -1352,7 +1352,7 @@ void Task::addParentProxyRelation(Node *node, const Relation *rel) { void Task::addChildProxyRelation(Node *node, const Relation *rel) { if (node->type() != Type_Summarytask) { if (type() == Type_Summarytask) { - //kdDebug()<<"Add child proxy from my tqchildren "<<m_name<<" to "<<node->name()<<endl; + //kdDebug()<<"Add child proxy from my children "<<m_name<<" to "<<node->name()<<endl; TQPtrListIterator<Node> nodes = m_nodes; for (; nodes.current(); ++nodes) { nodes.current()->addChildProxyRelation(node, rel); @@ -1525,7 +1525,7 @@ bool Task::effortMetError() const { } #ifndef NDEBUG -void Task::printDebug(bool tqchildren, TQCString indent) { +void Task::printDebug(bool children, TQCString indent) { kdDebug()<<indent<<"+ Task node: "<<name()<<" type="<<type()<<endl; indent += "! "; kdDebug()<<indent<<"Requested resources (total): "<<units()<<"%"<<endl; @@ -1533,7 +1533,7 @@ void Task::printDebug(bool tqchildren, TQCString indent) { if (m_requests) m_requests->printDebug(indent); - Node::printDebug(tqchildren, indent); + Node::printDebug(children, indent); } diff --git a/kplato/kpttask.h b/kplato/kpttask.h index 2d3776db..55abd23f 100644 --- a/kplato/kpttask.h +++ b/kplato/kpttask.h @@ -244,7 +244,7 @@ public: /// Calculate critical path virtual bool calcCriticalPath(bool fromEnd); - /// Set current schedule to schedule with identity id, for me nd my tqchildren + /// Set current schedule to schedule with identity id, for me nd my children virtual void setCurrentSchedule(long id); virtual bool effortMetError() const; @@ -296,7 +296,7 @@ private: #ifndef NDEBUG public: - void printDebug(bool tqchildren, TQCString indent); + void printDebug(bool children, TQCString indent); #endif }; diff --git a/kplato/kpttaskappointmentsview.ui.h b/kplato/kpttaskappointmentsview.ui.h index fe0cc9c9..b06fb4be 100644 --- a/kplato/kpttaskappointmentsview.ui.h +++ b/kplato/kpttaskappointmentsview.ui.h @@ -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(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)); + m_epi->setText(TQString("%1").arg(m_task->effortPerformanceIndex(m_date->date()),3,'f',2)); + m_cpi->setText(TQString("%1").arg(m_task->costPerformanceIndex(m_date->date()),3,'f',2)); } diff --git a/kplato/kptwbsdefinition.cc b/kplato/kptwbsdefinition.cc index f33d355c..e25f9fe6 100644 --- a/kplato/kptwbsdefinition.cc +++ b/kplato/kptwbsdefinition.cc @@ -108,25 +108,25 @@ const TQChar Letters[] = { '?','a','b','c','d','e','f','g','h','i','j','k','l',' TQString WBSDefinition::code(CodeDef &def, uint index) { if (def.code == "Number") { - return TQString("%1").tqarg(index); + return TQString("%1").arg(index); } if (def.code == "Roman, lower case") { - return TQString("%1").tqarg(toRoman(index)); + return TQString("%1").arg(toRoman(index)); } if (def.code == "Roman, upper case") { - return TQString("%1").tqarg(toRoman(index, true)); + return TQString("%1").arg(toRoman(index, true)); } if (def.code == "Letter, lower case") { if (index > 26) { index = 0; } - return TQString("%1").tqarg(Letters[index]); + return TQString("%1").arg(Letters[index]); } if (def.code == "Letter, upper case") { if (index > 26) { index = 0; } - return TQString("%1").tqarg(Letters[index].upper()); + return TQString("%1").arg(Letters[index].upper()); } return TQString(); } diff --git a/kplato/kptwbsdefinitionpanel.cc b/kplato/kptwbsdefinitionpanel.cc index 8dcfe891..083c9216 100644 --- a/kplato/kptwbsdefinitionpanel.cc +++ b/kplato/kptwbsdefinitionpanel.cc @@ -57,7 +57,7 @@ WBSDefinitionPanel::WBSDefinitionPanel(WBSDefinition &def, TQWidget *p, const ch kdDebug()<<"Map size="<<lev.count()<<endl; TQMap<int, WBSDefinition::CodeDef>::const_iterator it; for (it = lev.begin(); it != lev.end(); ++it) { - levelsTable->verticalHeader()->setLabel(i, TQString("%1").tqarg(it.key())); + levelsTable->verticalHeader()->setLabel(i, TQString("%1").arg(it.key())); TQComboTableItem *item = new TQComboTableItem(levelsTable, codeList, true); item->setCurrentItem(it.data().code); levelsTable->setItem(i, 0, item); @@ -108,7 +108,7 @@ void WBSDefinitionPanel::slotSelectionChanged() { bool rowSelected = false; for (int i=0; i < levelsTable->numRows(); ++i) { if (levelsTable->isRowSelected(i, true)) { - s += TQString("Row[%1]=selected ").tqarg(i); + s += TQString("Row[%1]=selected ").arg(i); rowSelected = true; } } @@ -141,7 +141,7 @@ void WBSDefinitionPanel::slotAddBtnClicked() { } i++; levelsTable->insertRows(i); - levelsTable->verticalHeader()->setLabel(i, TQString("%1").tqarg(level->value())); + levelsTable->verticalHeader()->setLabel(i, TQString("%1").arg(level->value())); TQComboTableItem *item = new TQComboTableItem(levelsTable, m_def.codeList(), true); levelsTable->setItem(i, 0, item); levelsTable->clearSelection(); diff --git a/kplato/kptxmlloaderobject.h b/kplato/kptxmlloaderobject.h index c8ddc7a5..272c3599 100644 --- a/kplato/kptxmlloaderobject.h +++ b/kplato/kptxmlloaderobject.h @@ -49,15 +49,15 @@ public: m_starttime = TQDateTime::currentDateTime(); m_errors = m_warnings = 0; m_log.clear(); - addMsg(TQString("Loading started at %1").tqarg(m_starttime.toString())); + addMsg(TQString("Loading started at %1").arg(m_starttime.toString())); } void stopLoad() { m_elapsed = m_timer.elapsed(); - addMsg(TQString("Loading finished at %1, took %2").tqarg(TQDateTime::currentDateTime().toString()).tqarg(formatElapsed())); + addMsg(TQString("Loading finished at %1, took %2").arg(TQDateTime::currentDateTime().toString()).arg(formatElapsed())); } TQDateTime lastLoaded() const { return m_starttime; } int elapsed() const { return m_elapsed; } - TQString formatElapsed() { return TQString("%1 seconds").tqarg((double)m_elapsed/1000); } + TQString formatElapsed() { return TQString("%1 seconds").arg((double)m_elapsed/1000); } void setLogLevel(Severity sev) { m_logLevel = sev; } const TQStringList &log() const { return m_log; } @@ -70,7 +70,7 @@ public: else if (sev == Diagnostics) s = "Diagnostic"; else if (sev == Debug) s = "Debug"; else s = "Message"; - m_log<<TQString("%1: %2").tqarg(s, 13).tqarg(msg); + m_log<<TQString("%1: %2").arg(s, 13).arg(msg); } void addMsg(TQString msg) { m_log<<msg; } void increment(int sev) { diff --git a/kplato/relationpanel.ui b/kplato/relationpanel.ui index bfa7fbdc..1c120b57 100644 --- a/kplato/relationpanel.ui +++ b/kplato/relationpanel.ui @@ -121,7 +121,7 @@ <property name="text"> <string>From:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignTop</set> </property> </widget> @@ -140,7 +140,7 @@ <property name="text"> <string>To:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignTop</set> </property> </widget> @@ -151,7 +151,7 @@ <property name="text"> <string>Task 1</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignTop</set> </property> </widget> @@ -162,7 +162,7 @@ <property name="text"> <string>Task 2</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>WordBreak|AlignTop</set> </property> </widget> @@ -220,7 +220,7 @@ <property name="text"> <string>Lag:</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignBottom</set> </property> </widget> |