summaryrefslogtreecommitdiffstats
path: root/quanta/components/debugger/variableslistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
commit9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch)
treeb9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/components/debugger/variableslistview.cpp
parent9930e16dde86b7de9b792613d826f4f8648b9768 (diff)
downloadtdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz
tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'quanta/components/debugger/variableslistview.cpp')
-rw-r--r--quanta/components/debugger/variableslistview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/components/debugger/variableslistview.cpp b/quanta/components/debugger/variableslistview.cpp
index 40df91c0..04eb90a1 100644
--- a/quanta/components/debugger/variableslistview.cpp
+++ b/quanta/components/debugger/variableslistview.cpp
@@ -48,7 +48,7 @@ namespace VariablesListViewColumns
}
VariablesListView::VariablesListView(TQWidget *parent, const char *name)
- : KListView(parent, name)
+ : TDEListView(parent, name)
{
// If you change here, change the VariablesListViewColumns enums above
addColumn(i18n("Name"));
@@ -59,7 +59,7 @@ VariablesListView::VariablesListView(TQWidget *parent, const char *name)
setRootIsDecorated(true);
setSorting(-1); // No sorting
- m_variablePopup = new KPopupMenu(this);
+ m_variablePopup = new TDEPopupMenu(this);
m_variablePopup->insertItem(SmallIcon("editdelete"), i18n("&Remove"), this, TQT_SLOT(slotRemoveSelected()), 0, removeWatch);
if(quantaApp->debugger()->client()->supports(DebuggerClientCapabilities::VariableSetValue))
@@ -69,7 +69,7 @@ VariablesListView::VariablesListView(TQWidget *parent, const char *name)
m_variablePopup->insertItem(SmallIcon("editcopy"), i18n("&Copy to Clipboard"), this, TQT_SLOT(slotVariableCopyToClipboard()), 0, copyValue);
- connect(this, TQT_SIGNAL( contextMenu( KListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotVariableContextMenu(KListView *, TQListViewItem *, const TQPoint &)));
+ connect(this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), this, TQT_SLOT(slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint &)));
}
@@ -144,7 +144,7 @@ void VariablesListView::addVariable(DebuggerVariable* variable)
DebuggerVariable *newvar = new DebuggerVariable(variable);
m_variablesList.append(newvar);
- KListViewItem * item = new KListViewItem(this);
+ TDEListViewItem * item = new TDEListViewItem(this);
insertItem(item);
newvar->setItem(item);
replaceVariable(newvar, variable);
@@ -152,13 +152,13 @@ void VariablesListView::addVariable(DebuggerVariable* variable)
void VariablesListView::clear()
{
- KListView::clear();
+ TDEListView::clear();
m_variablesList.clear();
}
void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariable* newvar)
{
- KListViewItem * item;
+ TDEListViewItem * item;
// Remove children that doesen't exist anymore
TQPtrList<DebuggerVariable> oldlist = oldvar->values();
@@ -196,7 +196,7 @@ void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariab
if(!found)
{
DebuggerVariable* child = new DebuggerVariable();
- item = new KListViewItem(oldvar->item());
+ item = new TDEListViewItem(oldvar->item());
child->setItem(item);
replaceVariable( child, newchild);
oldvar->append(child);
@@ -219,7 +219,7 @@ void VariablesListView::replaceVariable(DebuggerVariable* oldvar, DebuggerVariab
}
-void VariablesListView::slotVariableContextMenu(KListView *, TQListViewItem *, const TQPoint& point)
+void VariablesListView::slotVariableContextMenu(TDEListView *, TQListViewItem *, const TQPoint& point)
{
if(!selectedItem())
return;