summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/gdbparser.cpp')
-rw-r--r--languages/cpp/debugger/gdbparser.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/cpp/debugger/gdbparser.cpp b/languages/cpp/debugger/gdbparser.cpp
index 79057af5..5a8588b1 100644
--- a/languages/cpp/debugger/gdbparser.cpp
+++ b/languages/cpp/debugger/gdbparser.cpp
@@ -17,7 +17,7 @@
#include "variablewidget.h"
#include <kdebug.h>
-#include <qregexp.h>
+#include <tqregexp.h>
#include <ctype.h>
#include <stdlib.h>
@@ -62,32 +62,32 @@ GDBParser::~GDBParser()
// **************************************************************************
-QString GDBParser::getName(const char **buf)
+TQString GDBParser::getName(const char **buf)
{
const char *start = skipNextTokenStart(*buf);
if (*start) {
*buf = skipTokenValue(start);
- return QCString(start, *buf - start + 1);
+ return TQCString(start, *buf - start + 1);
} else
*buf = start;
- return QString();
+ return TQString();
}
// **************************************************************************
-QString GDBParser::getValue(const char **buf)
+TQString GDBParser::getValue(const char **buf)
{
const char *start = skipNextTokenStart(*buf);
*buf = skipTokenValue(start);
- QString value(QCString(start, *buf - start + 1).data());
+ TQString value(TQCString(start, *buf - start + 1).data());
return value;
}
-QString GDBParser::undecorateValue(DataType type, const QString& s)
+TQString GDBParser::undecorateValue(DataType type, const TQString& s)
{
- QCString l8 = s.local8Bit();
+ TQCString l8 = s.local8Bit();
const char* start = l8;
const char* end = start + s.length();
@@ -106,7 +106,7 @@ QString GDBParser::undecorateValue(DataType type, const QString& s)
else
{
// Looks like composite, strip the braces and return.
- return QCString(start+1, end - start -1);
+ return TQCString(start+1, end - start -1);
}
}
else if (*start == '(')
@@ -131,7 +131,7 @@ QString GDBParser::undecorateValue(DataType type, const QString& s)
start = skipDelim(start, '(', ')');
}
- QString value(QCString(start, end - start + 1).data());
+ TQString value(TQCString(start, end - start + 1).data());
value = value.stripWhiteSpace();
@@ -155,10 +155,10 @@ QString GDBParser::undecorateValue(DataType type, const QString& s)
return value.stripWhiteSpace();
}
-QString GDBParser::undecorateValue(const QString& s)
+TQString GDBParser::undecorateValue(const TQString& s)
{
DataType dataType = determineType(s.local8Bit());
- QString r = undecorateValue(dataType, s.local8Bit());
+ TQString r = undecorateValue(dataType, s.local8Bit());
return r;
}