summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/costtypeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcachegrind/kcachegrind/costtypeview.cpp')
-rw-r--r--kcachegrind/kcachegrind/costtypeview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kcachegrind/kcachegrind/costtypeview.cpp b/kcachegrind/kcachegrind/costtypeview.cpp
index 6642e7af..28558f6c 100644
--- a/kcachegrind/kcachegrind/costtypeview.cpp
+++ b/kcachegrind/kcachegrind/costtypeview.cpp
@@ -35,22 +35,22 @@
//
-CostTypeView::CostTypeView(TraceItemView* parentView,
- TQWidget* parent, const char* name)
- : TQListView(parent, name), TraceItemView(parentView)
+CostTypeView::CostTypeView(TraceItemView* tqparentView,
+ TQWidget* tqparent, const char* name)
+ : TQListView(tqparent, name), TraceItemView(tqparentView)
{
addColumn( i18n( "Event Type" ) );
addColumn( i18n( "Incl." ) );
addColumn( i18n( "Self" ) );
addColumn( i18n( "Short" ) );
- addColumn( TQString::null );
+ addColumn( TQString() );
addColumn( i18n( "Formula" ) );
setSorting(-1);
setAllColumnsShowFocus(true);
- setColumnAlignment(1, Qt::AlignRight);
- setColumnAlignment(2, Qt::AlignRight);
- setColumnAlignment(3, Qt::AlignRight);
+ setColumnAlignment(1, TQt::AlignRight);
+ setColumnAlignment(2, TQt::AlignRight);
+ setColumnAlignment(3, TQt::AlignRight);
setMinimumHeight(50);
connect( this,
@@ -146,13 +146,13 @@ void CostTypeView::context(TQListViewItem* i, const TQPoint & p, int)
else if (r == 97) {
int i = 1;
while(1) {
- if (!TraceCostType::knownVirtualType(i18n("New%1").arg(i)))
+ if (!TraceCostType::knownVirtualType(i18n("New%1").tqarg(i)))
break;
i++;
}
// add same new cost type to this mapping and to known types
- TQString shortName = i18n("New%1").arg(i);
- TQString longName = i18n("New Cost Type %1").arg(i);
+ TQString shortName = i18n("New%1").tqarg(i);
+ TQString longName = i18n("New Cost Type %1").tqarg(i);
TraceCostType::add(new TraceCostType(shortName, longName, "0"));
_data->mapping()->add(new TraceCostType(shortName, longName, "0"));
refresh();