summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/rdbparser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/ruby/debugger/rdbparser.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/ruby/debugger/rdbparser.cpp')
-rw-r--r--languages/ruby/debugger/rdbparser.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/ruby/debugger/rdbparser.cpp b/languages/ruby/debugger/rdbparser.cpp
index d0e8e31b..a517c301 100644
--- a/languages/ruby/debugger/rdbparser.cpp
+++ b/languages/ruby/debugger/rdbparser.cpp
@@ -34,7 +34,7 @@ namespace RDBDebugger
// **************************************************************************
-void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf)
+void RDBParser::parseVariables(LazyFetchItem *parent, char *buf)
{
static const char *unknown = "?";
@@ -42,7 +42,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf)
TQCString value;
int pos;
- Q_ASSERT(tqparent);
+ Q_ASSERT(parent);
if (buf == 0 || strlen(buf) == 0) {
return;
}
@@ -84,7 +84,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf)
dataType = VALUE_TYPE;
}
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += var_re.matchedLength();
pos = var_re.search(buf, pos);
@@ -94,7 +94,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf)
}
}
-void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
+void RDBParser::parseExpandedVariable(VarItem *parent, char *buf)
{
DataType dataType;
int pos;
@@ -102,7 +102,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
TQCString value;
TQRegExp ppref_re("(#<([^:]|::)+:0x[\\da-f]+)([^\\n>]*)(>?)");
- switch (tqparent->dataType()) {
+ switch (parent->dataType()) {
case REFERENCE_TYPE:
{
// Look for a reference type which has been printed via a 'pp' command, to
@@ -139,7 +139,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
}
dataType = determineType((char *) ppvalue_re.cap(2).latin1());
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += ppvalue_re.matchedLength();
pos = ppvalue_re.search(buf, pos);
@@ -170,7 +170,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
}
DataType dataType = determineType((char *) pparray_re.cap(2).latin1());
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += pparray_re.matchedLength();
pos = pparray_re.search(buf, pos);
@@ -193,7 +193,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
varName = pphash_re.cap(1);
value = pphash_re.cap(2).latin1();
DataType dataType = determineType(value.data());
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += pphash_re.matchedLength();
pos = pphash_re.search(buf, pos);
@@ -235,7 +235,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
varName = ppvalue_re.cap(1);
value = ppvalue_re.cap(2).latin1();
dataType = determineType(value.data());
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += ppvalue_re.matchedLength();
pos = ppvalue_re.search(buf, pos);
@@ -259,7 +259,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
varName = ppstring_re.cap(1);
value = ppstring_re.cap(2).latin1();
DataType dataType = determineType(value.data());
- setItem(tqparent, varName, dataType, value);
+ setItem(parent, varName, dataType, value);
pos += ppstring_re.matchedLength();
pos = ppstring_re.search(buf, pos);
@@ -278,12 +278,12 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
// **************************************************************************
-void RDBParser::setItem(LazyFetchItem *tqparent, const TQString &varName,
+void RDBParser::setItem(LazyFetchItem *parent, const TQString &varName,
DataType dataType, const TQCString &value)
{
- VarItem *item = tqparent->findItem(varName);
+ VarItem *item = parent->findItem(varName);
if (item == 0) {
- item = new VarItem(tqparent, varName, dataType);
+ item = new VarItem(parent, varName, dataType);
} else {
// The dataType of an item can change, so update it
item->setDataType(dataType);