summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/variableslistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/debugger/variableslistview.cpp')
-rw-r--r--quanta/components/debugger/variableslistview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/components/debugger/variableslistview.cpp b/quanta/components/debugger/variableslistview.cpp
index 03ddd7d3..9c7263bb 100644
--- a/quanta/components/debugger/variableslistview.cpp
+++ b/quanta/components/debugger/variableslistview.cpp
@@ -39,7 +39,7 @@ namespace VariablesListViewColumns
enum Columns
{
Name = 0,
- Status,
+ tqStatus,
Value,
Type,
Size
@@ -47,12 +47,12 @@ namespace VariablesListViewColumns
};
}
-VariablesListView::VariablesListView(TQWidget *parent, const char *name)
- : KListView(parent, name)
+VariablesListView::VariablesListView(TQWidget *tqparent, const char *name)
+ : KListView(tqparent, name)
{
// If you change here, change the VariablesListViewColumns enums above
addColumn(i18n("Name"));
- addColumn(TQString::null);
+ addColumn(TQString());
addColumn(i18n("Value"));
addColumn(i18n("Type"));
addColumn(i18n("Size"));
@@ -106,7 +106,7 @@ void VariablesListView::slotRemoveSelected()
void VariablesListView::keyPressEvent(TQKeyEvent *e)
{
- if(e->key() != Qt::Key_Delete)
+ if(e->key() != TQt::Key_Delete)
{
e->ignore();
return;
@@ -160,7 +160,7 @@ void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariab
{
KListViewItem * item;
- // Remove children that doesen't exist anymore
+ // Remove tqchildren that doesen't exist anymore
TQPtrList<DebuggerVariable> oldlist = oldvar->values();
for(DebuggerVariable* oldchild = oldlist.last(); oldchild; oldchild = oldlist.prev())
{
@@ -178,7 +178,7 @@ void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariab
oldvar->deleteChild(oldchild);
}
- // Update and add children
+ // Update and add tqchildren
TQPtrList<DebuggerVariable> newlist = newvar->values();
for(DebuggerVariable* newchild = newlist.last(); newchild; newchild = newlist.prev())
{
@@ -206,9 +206,9 @@ void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariab
item = oldvar->item();
if(oldvar->value() != newvar->value())
- item->setPixmap(VariablesListViewColumns::Status, SmallIcon("ok"));
+ item->setPixmap(VariablesListViewColumns::tqStatus, SmallIcon("ok"));
else
- item->setPixmap(VariablesListViewColumns::Status, KPixmap());
+ item->setPixmap(VariablesListViewColumns::tqStatus, KPixmap());
oldvar->copy(newvar, false);
@@ -274,7 +274,7 @@ void VariablesListView::slotVariableDump( )
if(!v)
return;
- quantaApp->messageOutput()->showMessage(i18n("Contents of variable %1:\n>>>\n").arg(v->name()));
+ quantaApp->messageOutput()->showMessage(i18n("Contents of variable %1:\n>>>\n").tqarg(v->name()));
quantaApp->messageOutput()->showMessage(v->value());
quantaApp->messageOutput()->showMessage("<<<\n");
}
@@ -284,7 +284,7 @@ void VariablesListView::slotVariableCopyToClipboard( )
DebuggerVariable *v = selected(true);
if(!v)
return;
- TQApplication::clipboard()->setText(v->value());
+ TQApplication::tqclipboard()->setText(v->value());
}
#include "variableslistview.moc"