summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/partgraph.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:34 -0600
commitf78838f2f736acc2b235d8b680f3379a07a6d372 (patch)
tree81d92708252929f5199fbaf6bc03f5a57c0e3ad8 /kcachegrind/kcachegrind/partgraph.cpp
parent1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (diff)
downloadtdesdk-f78838f2f736acc2b235d8b680f3379a07a6d372.tar.gz
tdesdk-f78838f2f736acc2b235d8b680f3379a07a6d372.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kcachegrind/kcachegrind/partgraph.cpp')
-rw-r--r--kcachegrind/kcachegrind/partgraph.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kcachegrind/kcachegrind/partgraph.cpp b/kcachegrind/kcachegrind/partgraph.cpp
index aa01e627..a20f53dc 100644
--- a/kcachegrind/kcachegrind/partgraph.cpp
+++ b/kcachegrind/kcachegrind/partgraph.cpp
@@ -90,7 +90,7 @@ void PartAreaWidget::refreshParts()
{
// rebuild only subparts to keep part selection state
TreeMapItem* i;
- TreeMapItemList* l = base()->tqchildren();
+ TreeMapItemList* l = base()->children();
if (l)
for (i=l->first();i;i=l->next())
i->refresh();
@@ -115,7 +115,7 @@ void PartAreaWidget::setGroupType(TraceCost::CostType gt)
// rebuild hierarchy below parts.
// thus, selected parts stay selected
TreeMapItem* i;
- TreeMapItemList* l = base()->tqchildren();
+ TreeMapItemList* l = base()->children();
if (l)
for (i=l->first();i;i=l->next())
i->refresh();
@@ -164,7 +164,7 @@ TQString PartAreaWidget::tipString(TreeMapItem* i) const
while (i && i->rtti()==3) i = i->parent();
if (i && i->rtti()==2) {
- itemTip = i18n("Profile Part %1").tqarg(i->text(0));
+ itemTip = i18n("Profile Part %1").arg(i->text(0));
if (!i->text(1).isEmpty())
itemTip += " (" + i->text(1) + ")";
@@ -201,9 +201,9 @@ void BasePartItem::setData(TraceData* data)
refresh();
}
-TreeMapItemList* BasePartItem::tqchildren()
+TreeMapItemList* BasePartItem::children()
{
- if (!_data) return _tqchildren;
+ if (!_data) return _children;
if (!initialized()) {
// qDebug("Create Parts (%s)", name().ascii());
@@ -216,7 +216,7 @@ TreeMapItemList* BasePartItem::tqchildren()
addItem(new PartItem(part));
}
- return _tqchildren;
+ return _children;
}
TQString BasePartItem::text(int textNo) const
@@ -276,7 +276,7 @@ TQString PartItem::text(int textNo) const
TraceCost* t = _p->data()->totals();
double p = 100.0 * v / t->subCost(ct);
return TQString("%1 %")
- .tqarg(p, 0, 'f', Configuration::percentPrecision());
+ .arg(p, 0, 'f', Configuration::percentPrecision());
}
return v.pretty();
}
@@ -324,9 +324,9 @@ double PartItem::sum() const
return 0.0;
}
-TreeMapItemList* PartItem::tqchildren()
+TreeMapItemList* PartItem::children()
{
- if (initialized()) return _tqchildren;
+ if (initialized()) return _children;
TraceCost* c;
// qDebug("Create Part subitems (%s)", name().ascii());
@@ -339,7 +339,7 @@ TreeMapItemList* PartItem::tqchildren()
if (c) addItem(new SubPartItem(c));
}
- return _tqchildren;
+ return _children;
}
@@ -397,7 +397,7 @@ TreeMapItemList* PartItem::tqchildren()
break;
}
- return _tqchildren;
+ return _children;
}
@@ -443,7 +443,7 @@ TQString SubPartItem::text(int textNo) const
_partCostItem->part() : _partCostItem->part()->data()->totals();
double p = 100.0 * v / t->subCost(ct);
return TQString("%1 %")
- .tqarg(p, 0, 'f', Configuration::percentPrecision());
+ .arg(p, 0, 'f', Configuration::percentPrecision());
}
return v.pretty();
}
@@ -491,7 +491,7 @@ double SubPartItem::sum() const
return 0.0;
}
-TreeMapItemList* SubPartItem::tqchildren()
+TreeMapItemList* SubPartItem::children()
{
if (!initialized()) {
// qDebug("Create Part sub-subitems (%s)", name().ascii());
@@ -499,7 +499,7 @@ TreeMapItemList* SubPartItem::tqchildren()
PartAreaWidget* w = (PartAreaWidget*)widget();
if (depth()-2 > w->callLevels())
- return _tqchildren;
+ return _children;
if (w->visualisation() == PartAreaWidget::Inclusive) {
TracePartCall* call;
@@ -517,7 +517,7 @@ TreeMapItemList* SubPartItem::tqchildren()
}
}
- return _tqchildren;
+ return _children;
}