summaryrefslogtreecommitdiffstats
path: root/languages/lib/designer_integration/implementationwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/lib/designer_integration/implementationwidget.cpp')
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp
index c051db92..b9e193a1 100644
--- a/languages/lib/designer_integration/implementationwidget.cpp
+++ b/languages/lib/designer_integration/implementationwidget.cpp
@@ -38,23 +38,23 @@
#include <kdevlanguagesupport.h>
namespace ImplUtils{
-class ClassItem: public KListViewItem{
+class ClassItem: public TDEListViewItem{
public:
- ClassItem(KListViewItem *parent, ClassDom dom)
- :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- ClassItem(KListView *parent, ClassDom dom)
- :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ ClassItem(TDEListViewItem *parent, ClassDom dom)
+ :TDEListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ ClassItem(TDEListView *parent, ClassDom dom)
+ :TDEListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
ClassDom dom() const { return m_dom; }
private:
ClassDom m_dom;
};
-class NamespaceItem: public KListViewItem{
+class NamespaceItem: public TDEListViewItem{
public:
- NamespaceItem(KListViewItem *parent, NamespaceDom dom)
- :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- NamespaceItem(KListView *parent, NamespaceDom dom)
- :KListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ NamespaceItem(TDEListViewItem *parent, NamespaceDom dom)
+ :TDEListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ NamespaceItem(TDEListView *parent, NamespaceDom dom)
+ :TDEListViewItem(parent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
NamespaceDom dom() const { return m_dom; }
private:
NamespaceDom m_dom;
@@ -79,12 +79,12 @@ void ImplementationWidget::init(const TQString &formName)
m_baseClassName = DomUtil::elementByPathExt(doc, "class").text();
setCaption(i18n("Create or Select Implementation Class for: %1").arg(m_baseClassName));
- KListViewItem *item = new KListViewItem(classView, i18n("Namespaces &amp;&amp; Classes"));
+ TDEListViewItem *item = new TDEListViewItem(classView, i18n("Namespaces &amp;&amp; Classes"));
item->setOpen(true);
processNamespaces(m_part->codeModel()->globalNamespace(), item);
}
-void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *parent)
+void ImplementationWidget::processNamespaces(NamespaceDom dom, TDEListViewItem *parent)
{
const NamespaceList nslist = dom->namespaceList();
for (NamespaceList::const_iterator it = nslist.begin(); it != nslist.end(); ++it)
@@ -94,7 +94,7 @@ void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *pa
processClasses(*it, new ImplUtils::ClassItem(parent, *it));
}
-void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *parent)
+void ImplementationWidget::processClasses(ClassDom dom, TDEListViewItem *parent)
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)