summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/variablewidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:15:35 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/ruby/debugger/variablewidget.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'languages/ruby/debugger/variablewidget.cpp')
-rw-r--r--languages/ruby/debugger/variablewidget.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/ruby/debugger/variablewidget.cpp b/languages/ruby/debugger/variablewidget.cpp
index de60eaea..8179eeab 100644
--- a/languages/ruby/debugger/variablewidget.cpp
+++ b/languages/ruby/debugger/variablewidget.cpp
@@ -128,7 +128,7 @@ void VariableWidget::savePartialProjectSession(TQDomElement* el)
// **************************************************************************
VariableTree::VariableTree(VariableWidget *parent, const char *name)
- : KListView(parent, name),
+ : TDEListView(parent, name),
TQToolTip( viewport() ),
activationId_(0),
currentThread_(-1),
@@ -145,8 +145,8 @@ VariableTree::VariableTree(VariableWidget *parent, const char *name)
addColumn(i18n("Variable"), 100 );
addColumn(i18n("Value"), 100 );
- connect( this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
- TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*)) );
+ connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*)) );
connect( this, TQT_SIGNAL(pressed(TQListViewItem*)),
this, TQT_SLOT(slotPressed(TQListViewItem*)) );
@@ -180,7 +180,7 @@ void VariableTree::clear()
// **************************************************************************
-void VariableTree::slotContextMenu(KListView *, TQListViewItem *item)
+void VariableTree::slotContextMenu(TDEListView *, TQListViewItem *item)
{
if (item == 0)
return;
@@ -188,7 +188,7 @@ void VariableTree::slotContextMenu(KListView *, TQListViewItem *item)
setSelected(item, true); // Need to select this item.
if (item->parent() != 0) {
- KPopupMenu popup(this);
+ TDEPopupMenu popup(this);
popup.insertTitle(item->text(VAR_NAME_COLUMN));
int idRemoveWatch = -2;
if (item->rtti() == RTTI_WATCH_VAR_ITEM) {
@@ -441,7 +441,7 @@ void VariableTree::maybeTip(const TQPoint &p)
// **************************************************************************
LazyFetchItem::LazyFetchItem(VariableTree *parent)
- : KListViewItem(parent),
+ : TDEListViewItem(parent),
activationId_(0),
waitingForData_(false)
{
@@ -451,7 +451,7 @@ LazyFetchItem::LazyFetchItem(VariableTree *parent)
// **************************************************************************
LazyFetchItem::LazyFetchItem(LazyFetchItem *parent)
- : KListViewItem(parent),
+ : TDEListViewItem(parent),
activationId_(0),
waitingForData_(false)
{