summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/debuggervariable.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/components/debugger/debuggervariable.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/components/debugger/debuggervariable.cpp')
-rw-r--r--quanta/components/debugger/debuggervariable.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/quanta/components/debugger/debuggervariable.cpp b/quanta/components/debugger/debuggervariable.cpp
index b6a4f76a..390290a7 100644
--- a/quanta/components/debugger/debuggervariable.cpp
+++ b/quanta/components/debugger/debuggervariable.cpp
@@ -26,7 +26,7 @@ DebuggerVariable::DebuggerVariable()
, m_item(NULL)
{}
-DebuggerVariable::DebuggerVariable(const QString& name)
+DebuggerVariable::DebuggerVariable(const TQString& name)
: m_isReference(false)
, m_size(0)
, m_type(DebuggerVariableTypes::Undefined)
@@ -35,7 +35,7 @@ DebuggerVariable::DebuggerVariable(const QString& name)
m_name = name;
}
-DebuggerVariable::DebuggerVariable(const QString& name, const QString& value, int type)
+DebuggerVariable::DebuggerVariable(const TQString& name, const TQString& value, int type)
: m_isReference(false)
, m_size(0)
, m_item(NULL)
@@ -47,7 +47,7 @@ DebuggerVariable::DebuggerVariable(const QString& name, const QString& value, in
m_size = value.length();
}
-DebuggerVariable::DebuggerVariable(const QString& name, const QString& value, int type, int size)
+DebuggerVariable::DebuggerVariable(const TQString& name, const TQString& value, int type, int size)
: m_isReference(false)
, m_item(NULL)
{
@@ -57,7 +57,7 @@ DebuggerVariable::DebuggerVariable(const QString& name, const QString& value, in
m_size = size;
}
-DebuggerVariable::DebuggerVariable(const QString& name, const ValueList_t& values, int type)
+DebuggerVariable::DebuggerVariable(const TQString& name, const ValueList_t& values, int type)
: m_isReference(false)
, m_item(NULL)
{
@@ -88,20 +88,20 @@ DebuggerVariable::DebuggerVariable(DebuggerVariable* v, bool copyitem )
}
-void DebuggerVariable::setName(const QString& name)
+void DebuggerVariable::setName(const TQString& name)
{
m_name = name;
}
-QString DebuggerVariable::name() const
+TQString DebuggerVariable::name() const
{
return m_name;
}
-void DebuggerVariable::setValue(const QString& value)
+void DebuggerVariable::setValue(const TQString& value)
{
m_value = value;
}
-QString DebuggerVariable::value() const
+TQString DebuggerVariable::value() const
{
if(isScalar())
return m_value;
@@ -146,7 +146,7 @@ int DebuggerVariable::type() const
return m_type;
}
-const QString DebuggerVariable::typeName() const
+const TQString DebuggerVariable::typeName() const
{
switch(m_type)
{
@@ -186,7 +186,7 @@ long DebuggerVariable::size() const
return m_size;
}
-QString DebuggerVariable::sizeName() const
+TQString DebuggerVariable::sizeName() const
{
switch(m_type)
{
@@ -199,7 +199,7 @@ QString DebuggerVariable::sizeName() const
case DebuggerVariableTypes::Error:
return "";
}
- return QString::number(m_size);
+ return TQString::number(m_size);
}
void DebuggerVariable::setReference(bool ref)
@@ -241,7 +241,7 @@ void DebuggerVariable::deleteChild( DebuggerVariable * child )
}
}
-DebuggerVariable* DebuggerVariable::findItem( QListViewItem * item, bool traverse )
+DebuggerVariable* DebuggerVariable::findItem( TQListViewItem * item, bool traverse )
{
if(item == m_item)
return this;