summaryrefslogtreecommitdiffstats
path: root/kmtrace
diff options
context:
space:
mode:
Diffstat (limited to 'kmtrace')
-rw-r--r--kmtrace/kmtrace.cpp8
-rw-r--r--kmtrace/match.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/kmtrace/kmtrace.cpp b/kmtrace/kmtrace.cpp
index 0c3dd137..5e3cef8a 100644
--- a/kmtrace/kmtrace.cpp
+++ b/kmtrace/kmtrace.cpp
@@ -229,9 +229,9 @@ int lookupSymbols(FILE *stream)
*addr = 0;
char* str;
if( rindex(line2, '/') != NULL )
- str = qstrdup(rindex(line2, '/')+1);
+ str = tqstrdup(rindex(line2, '/')+1);
else
- str = qstrdup(line2);
+ str = tqstrdup(line2);
symbolDict->replace(i_addr, str);
symbols++;
}
@@ -285,7 +285,7 @@ void lookupUnknownSymbols(const char *appname)
TQCString symbol;
symbol.sprintf("%s(%s)", buffer2, buffer1);
if(*buffer1 != '?')
- symbolDict->replace(it2.currentKey(),qstrdup(symbol.data()));
+ symbolDict->replace(it2.currentKey(),tqstrdup(symbol.data()));
}
fclose(fInputFile);
}
@@ -347,7 +347,7 @@ fprintf(stderr, "Error!\n");
s.replace(start+1, end-start-1, symbol);
}
}
- str = qstrdup(s.data());
+ str = tqstrdup(s.data());
formatDict->insert(addr,str);
return str;
}
diff --git a/kmtrace/match.cpp b/kmtrace/match.cpp
index afa83bc1..47f25ab6 100644
--- a/kmtrace/match.cpp
+++ b/kmtrace/match.cpp
@@ -64,7 +64,7 @@ int main(int argc, char **argv)
TQString line = TQString::fromLatin1(buf).stripWhiteSpace();
if (dict.find(line))
{
- qWarning("%s", line.latin1());
+ tqWarning("%s", line.latin1());
}
}
fclose(call_file);