summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/mi/gdbmi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/mi/gdbmi.cpp')
-rw-r--r--languages/cpp/debugger/mi/gdbmi.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/debugger/mi/gdbmi.cpp b/languages/cpp/debugger/mi/gdbmi.cpp
index fa27355f..27f90284 100644
--- a/languages/cpp/debugger/mi/gdbmi.cpp
+++ b/languages/cpp/debugger/mi/gdbmi.cpp
@@ -28,7 +28,7 @@ type_error::type_error()
: std::logic_error("MI type error")
{}
-QString Value::literal() const
+TQString Value::literal() const
{
throw type_error();
}
@@ -38,12 +38,12 @@ int Value::toInt(int /*base*/) const
throw type_error();
}
-bool Value::hasField(const QString&) const
+bool Value::hasField(const TQString&) const
{
throw type_error();
}
-const Value& Value::operator[](const QString&) const
+const Value& Value::operator[](const TQString&) const
{
throw type_error();
}
@@ -64,7 +64,7 @@ const Value& Value::operator[](unsigned) const
throw type_error();
}
-QString StringLiteralValue::literal() const
+TQString StringLiteralValue::literal() const
{
return literal_;
}
@@ -80,16 +80,16 @@ int StringLiteralValue::toInt(int base) const
TupleValue::~TupleValue()
{
- for (QValueListIterator<Result*> it=results.begin(); it!=results.end(); ++it)
+ for (TQValueListIterator<Result*> it=results.begin(); it!=results.end(); ++it)
delete *it;
}
-bool TupleValue::hasField(const QString& variable) const
+bool TupleValue::hasField(const TQString& variable) const
{
return results_by_name.count(variable);
}
-const Value& TupleValue::operator[](const QString& variable) const
+const Value& TupleValue::operator[](const TQString& variable) const
{
if (results_by_name.count(variable))
return *results_by_name[variable]->value;
@@ -99,7 +99,7 @@ const Value& TupleValue::operator[](const QString& variable) const
ListValue::~ListValue()
{
- for (QValueListIterator<Result*> it=results.begin(); it!=results.end(); ++it)
+ for (TQValueListIterator<Result*> it=results.begin(); it!=results.end(); ++it)
delete *it;
}