summaryrefslogtreecommitdiffstats
path: root/kmtrace
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:36:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:36:05 -0600
commitdd844d7919e7f0f95c010378e7af1434ea904fff (patch)
tree50727ca63550e4397ff76e4d039c162e225d59fc /kmtrace
parent7df4eaa9f8fa84d2b859cc59d21134cc2334651c (diff)
downloadtdesdk-dd844d7919e7f0f95c010378e7af1434ea904fff.tar.gz
tdesdk-dd844d7919e7f0f95c010378e7af1434ea904fff.zip
Rename additional global TQt functions
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);