diff options
Diffstat (limited to 'languages/lib/designer_integration/implementationwidget.cpp')
-rw-r--r-- | languages/lib/designer_integration/implementationwidget.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp index c961657b..6198f9bc 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 *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(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); } ClassDom dom() const { return m_dom; } private: ClassDom m_dom; @@ -51,18 +51,18 @@ private: class NamespaceItem: public KListViewItem{ 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(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); } NamespaceDom dom() const { return m_dom; } private: NamespaceDom m_dom; }; } -ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal) - :CreateImplemenationWidgetBase(parent, name, modal), m_part(part) +ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* tqparent, const char* name, bool modal) + :CreateImplemenationWidgetBase(tqparent, name, modal), m_part(part) { } @@ -77,28 +77,28 @@ void ImplementationWidget::init(const TQString &formName) TQDomDocument doc; DomUtil::openDOMFile(doc, m_formName); m_baseClassName = DomUtil::elementByPathExt(doc, "class").text(); - setCaption(i18n("Create or Select Implementation Class for: %1").arg(m_baseClassName)); + setCaption(i18n("Create or Select Implementation Class for: %1").tqarg(m_baseClassName)); KListViewItem *item = new KListViewItem(classView, i18n("Namespaces && Classes")); item->setOpen(true); processNamespaces(m_part->codeModel()->globalNamespace(), item); } -void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *parent) +void ImplementationWidget::processNamespaces(NamespaceDom dom, KListViewItem *tqparent) { const NamespaceList nslist = dom->namespaceList(); for (NamespaceList::const_iterator it = nslist.begin(); it != nslist.end(); ++it) - processNamespaces(*it, new ImplUtils::NamespaceItem(parent, *it)); + processNamespaces(*it, new ImplUtils::NamespaceItem(tqparent, *it)); const ClassList cllist = dom->classList(); for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it) - processClasses(*it, new ImplUtils::ClassItem(parent, *it)); + processClasses(*it, new ImplUtils::ClassItem(tqparent, *it)); } -void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *parent) +void ImplementationWidget::processClasses(ClassDom dom, KListViewItem *tqparent) { const ClassList cllist = dom->classList(); for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it) - processClasses(*it, new ImplUtils::ClassItem(parent, *it)); + processClasses(*it, new ImplUtils::ClassItem(tqparent, *it)); } ImplementationWidget::~ImplementationWidget() |