diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/debugger/gdbparser.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/debugger/gdbparser.cpp')
-rw-r--r-- | languages/cpp/debugger/gdbparser.cpp | 24 |
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; } |