summaryrefslogtreecommitdiffstats
path: root/kplato/kptcanvasitem.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kplato/kptcanvasitem.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kplato/kptcanvasitem.cc')
-rw-r--r--kplato/kptcanvasitem.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/kplato/kptcanvasitem.cc b/kplato/kptcanvasitem.cc
index 59690e3a..837fb48a 100644
--- a/kplato/kptcanvasitem.cc
+++ b/kplato/kptcanvasitem.cc
@@ -70,15 +70,15 @@ int PertNodeItem::RTTI = 2000;
void PertNodeItem::setVisible(bool yes)
{
//kdDebug()<<k_funcinfo<<m_node.name()<<endl;
- TQCanvasPolygon::tqsetVisible(yes);
+ TQCanvasPolygon::setVisible(yes);
TQCanvasItemList list = canvas()->allItems();
TQCanvasItemList::Iterator it = list.begin();
for (; it != list.end(); ++it)
{
if ( *it == m_name )
- m_name->tqsetVisible(yes);
+ m_name->setVisible(yes);
if ( *it == m_leader )
- m_leader->tqsetVisible(yes);
+ m_leader->setVisible(yes);
}
}
@@ -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)
{
@@ -274,7 +274,7 @@ PertRelationItem::PertRelationItem( PertCanvas *view, PertNodeItem *parent, Pert
{
//kdDebug()<<k_funcinfo<<"Parent="<<parent->node().name()<<" Child="<<child->node().name()<<endl;
draw();
- tqsetVisible(true);
+ setVisible(true);
}
PertRelationItem::~PertRelationItem()
@@ -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);