summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/instrview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcachegrind/kcachegrind/instrview.cpp')
-rw-r--r--kcachegrind/kcachegrind/instrview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kcachegrind/kcachegrind/instrview.cpp b/kcachegrind/kcachegrind/instrview.cpp
index 8a67296e..24e83cf6 100644
--- a/kcachegrind/kcachegrind/instrview.cpp
+++ b/kcachegrind/kcachegrind/instrview.cpp
@@ -110,9 +110,9 @@ static bool parseLine(char* buf, Addr& addr,
//
-InstrView::InstrView(TraceItemView* parentView,
- TQWidget* parent, const char* name)
- : TQListView(parent, name), TraceItemView(parentView)
+InstrView::InstrView(TraceItemView* tqparentView,
+ TQWidget* tqparent, const char* name)
+ : TQListView(tqparent, name), TraceItemView(tqparentView)
{
_showHexCode = DEFAULT_SHOWHEXCODE;
_lastHexCodeWidth = 50;
@@ -132,8 +132,8 @@ InstrView::InstrView(TraceItemView* parentView,
addColumn( i18n( "Source Position" ) );
setAllColumnsShowFocus(true);
- setColumnAlignment(1, Qt::AlignRight);
- setColumnAlignment(2, Qt::AlignRight);
+ setColumnAlignment(1, TQt::AlignRight);
+ setColumnAlignment(2, TQt::AlignRight);
connect(this,
TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint &, int)),
@@ -188,11 +188,11 @@ void InstrView::context(TQListViewItem* i, const TQPoint & p, int c)
TQString name = f->name();
if ((int)name.length()>Configuration::maxSymbolLength())
name = name.left(Configuration::maxSymbolLength()) + "...";
- popup.insertItem(i18n("Go to '%1'").arg(name), 93);
+ popup.insertItem(i18n("Go to '%1'").tqarg(name), 93);
popup.insertSeparator();
}
else if (instr) {
- popup.insertItem(i18n("Go to Address %1").arg(instr->name()), 93);
+ popup.insertItem(i18n("Go to Address %1").tqarg(instr->name()), 93);
popup.insertSeparator();
}
@@ -615,11 +615,11 @@ bool InstrView::fillInstrRange(TraceFunction* function,
// generate command
TQString popencmd, objfile;
objfile = function->object()->name();
- objfile = objfile.replace(TQRegExp("[\"']"), ""); // security...
+ objfile = objfile.tqreplace(TQRegExp("[\"']"), ""); // security...
popencmd = TQString("objdump -C -d "
"--start-address=0x%1 --stop-address=0x%2 \"%3\"")
- .arg(dumpStartAddr.toString()).arg(dumpEndAddr.toString())
- .arg(objfile);
+ .tqarg(dumpStartAddr.toString()).tqarg(dumpEndAddr.toString())
+ .tqarg(objfile);
if (1) qDebug("Running '%s'...", popencmd.ascii());
// and run...
@@ -875,7 +875,7 @@ bool InstrView::fillInstrRange(TraceFunction* function,
"There are %n cost lines without assembler code.", noAssLines));
new InstrItem(this, this, 2,
i18n("This happens because the code of"));
- new InstrItem(this, this, 3, TQString(" %1").arg(objfile));
+ new InstrItem(this, this, 3, TQString(" %1").tqarg(objfile));
new InstrItem(this, this, 4,
i18n("does not seem to match the profile data file."));
new InstrItem(this, this, 5, "");