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.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp
index 6198f9bc..d9a3d6a7 100644
--- a/languages/lib/designer_integration/implementationwidget.cpp
+++ b/languages/lib/designer_integration/implementationwidget.cpp
@@ -40,10 +40,10 @@
namespace ImplUtils{
class ClassItem: public KListViewItem{
public:
- ClassItem(KListViewItem *tqparent, ClassDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- ClassItem(KListView *tqparent, ClassDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ 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); }
ClassDom dom() const { return m_dom; }
private:
ClassDom m_dom;
@@ -51,18 +51,18 @@ private:
class NamespaceItem: public KListViewItem{
public:
- NamespaceItem(KListViewItem *tqparent, NamespaceDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
- NamespaceItem(KListView *tqparent, NamespaceDom dom)
- :KListViewItem(tqparent, dom->name(), dom->fileName()), m_dom(dom) { setOpen(true); }
+ 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); }
NamespaceDom dom() const { return m_dom; }
private:
NamespaceDom m_dom;
};
}
-ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent, const char* name, bool modal)
- :CreateImplemenationWidgetBase(tqparent, name, modal), m_part(part)
+ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal)
+ :CreateImplemenationWidgetBase(parent, name, modal), m_part(part)
{
}
@@ -84,21 +84,21 @@ void ImplementationWidget::init(const TQString &formName)
processNamespaces(m_part->codeModel()->globalNamespace(), item);
}
-void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *tqparent)
+void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *parent)
{
const NamespaceList nslist = dom->namespaceList();
for (NamespaceList::const_iterator it = nslist.begin(); it != nslist.end(); ++it)
- processNamespaces(*it, new ImplUtils::NamespaceItem(tqparent, *it));
+ processNamespaces(*it, new ImplUtils::NamespaceItem(parent, *it));
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
- processClasses(*it, new ImplUtils::ClassItem(tqparent, *it));
+ processClasses(*it, new ImplUtils::ClassItem(parent, *it));
}
-void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *tqparent)
+void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *parent)
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
- processClasses(*it, new ImplUtils::ClassItem(tqparent, *it));
+ processClasses(*it, new ImplUtils::ClassItem(parent, *it));
}
ImplementationWidget::~ImplementationWidget()