summaryrefslogtreecommitdiffstats
path: root/parts/classview
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview')
-rw-r--r--parts/classview/classtoolwidget.cpp4
-rw-r--r--parts/classview/classtoolwidget.h2
-rw-r--r--parts/classview/classtreebase.cpp24
-rw-r--r--parts/classview/classtreebase.h42
-rw-r--r--parts/classview/classviewpart.cpp6
-rw-r--r--parts/classview/classviewpart.h2
-rw-r--r--parts/classview/classviewwidget.cpp2
-rw-r--r--parts/classview/classviewwidget.h56
-rw-r--r--parts/classview/digraphview.cpp4
-rw-r--r--parts/classview/digraphview.h2
-rw-r--r--parts/classview/navigator.cpp12
-rw-r--r--parts/classview/navigator.h2
-rw-r--r--parts/classview/viewcombos.cpp24
-rw-r--r--parts/classview/viewcombos.h12
14 files changed, 97 insertions, 97 deletions
diff --git a/parts/classview/classtoolwidget.cpp b/parts/classview/classtoolwidget.cpp
index 2817db82..5aefe6e5 100644
--- a/parts/classview/classtoolwidget.cpp
+++ b/parts/classview/classtoolwidget.cpp
@@ -20,8 +20,8 @@
#include "classstore.h"
-ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *tqparent)
- : ClassTreeBase(part, tqparent, "class tool widget")
+ClassToolWidget::ClassToolWidget(ClassViewPart *part, TQWidget *parent)
+ : ClassTreeBase(part, parent, "class tool widget")
{}
diff --git a/parts/classview/classtoolwidget.h b/parts/classview/classtoolwidget.h
index 9ad4ef4a..41af01e0 100644
--- a/parts/classview/classtoolwidget.h
+++ b/parts/classview/classtoolwidget.h
@@ -23,7 +23,7 @@ class ClassToolWidget : public ClassTreeBase
TQ_OBJECT
public:
- ClassToolWidget(ClassViewPart *part, TQWidget *tqparent=0);
+ ClassToolWidget(ClassViewPart *part, TQWidget *parent=0);
~ClassToolWidget();
void insertClassAndClasses(ParsedClass *parsedClass, TQValueList<ParsedClass*> classList);
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index f4e21f2a..f9074510 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -272,9 +272,9 @@ void ClassTreeClassItem::setOpen(bool o)
ClassTreeItem::setOpen(o);
}
-ClassTreeMethodItem::ClassTreeMethodItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeMethodItem::ClassTreeMethodItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedMethod *parsedMethod)
- : ClassTreeItem(tqparent, lastSibling, parsedMethod)
+ : ClassTreeItem(parent, lastSibling, parsedMethod)
{
TQString icon;
@@ -336,9 +336,9 @@ TQString ClassTreeMethodItem::text( int ) const
}
-ClassTreeAttrItem::ClassTreeAttrItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeAttrItem::ClassTreeAttrItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedAttribute *parsedAttr)
- : ClassTreeItem(tqparent, lastSibling, parsedAttr)
+ : ClassTreeItem(parent, lastSibling, parsedAttr)
{
TQString icon;
@@ -367,9 +367,9 @@ TQString ClassTreeAttrItem::text( int ) const
return m_item->name();
}
-ClassTreeScriptItem::ClassTreeScriptItem(ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ClassTreeScriptItem::ClassTreeScriptItem(ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScript *parsedScript)
- : ClassTreeItem(tqparent, lastSibling, parsedScript)
+ : ClassTreeItem(parent, lastSibling, parsedScript)
{
TQString icon;
@@ -422,8 +422,8 @@ void ClassTreeScriptItem::setOpen(bool o)
class ClassToolTip : public TQToolTip
{
public:
- ClassToolTip( TQWidget *tqparent )
- : TQToolTip(tqparent)
+ ClassToolTip( TQWidget *parent )
+ : TQToolTip(parent)
{}
protected:
@@ -447,8 +447,8 @@ void ClassToolTip::maybeTip(const TQPoint &p)
}
-ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
setFocusPolicy(ClickFocus);
setRootIsDecorated(true);
@@ -488,7 +488,7 @@ ClassTreeBase::TreeState ClassTreeBase::treeState() const
TQListViewItem *item = it.current();
while (item) {
path.prepend(item->text(0));
- item = item->tqparent();
+ item = item->parent();
}
state.append(path);
}
@@ -507,7 +507,7 @@ void ClassTreeBase::setTreeState(TreeState state)
TQListViewItem *item = it.current();
while (item) {
path.prepend(item->text(0));
- item = item->tqparent();
+ item = item->parent();
}
if (*tsit == path) {
it.current()->setOpen(true);
diff --git a/parts/classview/classtreebase.h b/parts/classview/classtreebase.h
index 5274d9e8..0c9a7d0f 100644
--- a/parts/classview/classtreebase.h
+++ b/parts/classview/classtreebase.h
@@ -33,7 +33,7 @@ class ClassTreeBase : public KListView
TQ_OBJECT
public:
- ClassTreeBase( ClassViewPart *part, TQWidget *tqparent=0, const char *name=0 );
+ ClassTreeBase( ClassViewPart *part, TQWidget *parent=0, const char *name=0 );
~ClassTreeBase();
protected:
@@ -67,18 +67,18 @@ protected:
class ClassTreeItem : public TQListViewItem, public NotifyClient
{
public:
- ClassTreeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
- ClassTreeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
- : TQListViewItem(tqparent, lastSibling), NotifyClient(), m_item(parsedItem)
+ ClassTreeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling, ParsedItem *parsedItem )
+ : TQListViewItem(parent, lastSibling), NotifyClient(), m_item(parsedItem)
{
init();
}
ClassTreeItem( const ClassTreeItem& other )
- : TQListViewItem( other.tqparent(), other.nextSibling()), NotifyClient()
+ : TQListViewItem( other.parent(), other.nextSibling()), NotifyClient()
{
m_item = other.m_item;
init();
@@ -123,14 +123,14 @@ protected:
class ClassTreeOrganizerItem : public ClassTreeItem
{
public:
- ClassTreeOrganizerItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(tqparent, lastSibling, 0 )
+ : ClassTreeItem(parent, lastSibling, 0 )
, m_text( text )
{ init(); }
- ClassTreeOrganizerItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeOrganizerItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
const TQString &text )
- : ClassTreeItem(tqparent, lastSibling, 0 )
+ : ClassTreeItem(parent, lastSibling, 0 )
, m_text( text )
{ init(); }
~ClassTreeOrganizerItem()
@@ -148,15 +148,15 @@ private:
class ClassTreeScopeItem : public ClassTreeItem
{
public:
- ClassTreeScopeItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(tqparent, lastSibling, parsedScope)
+ : ClassTreeItem(parent, lastSibling, parsedScope)
{
init();
}
- ClassTreeScopeItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScopeItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScopeContainer *parsedScope )
- : ClassTreeItem(tqparent, lastSibling, parsedScope)
+ : ClassTreeItem(parent, lastSibling, parsedScope)
{
init();
}
@@ -175,15 +175,15 @@ private:
class ClassTreeClassItem : public ClassTreeItem
{
public:
- ClassTreeClassItem( ClassTreeBase *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeBase *parent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
- ClassTreeClassItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeClassItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedClass *parsedClass, bool isStruct=false )
- : ClassTreeItem(tqparent, lastSibling, parsedClass), m_isStruct( isStruct )
+ : ClassTreeItem(parent, lastSibling, parsedClass), m_isStruct( isStruct )
{
init();
}
@@ -204,7 +204,7 @@ private:
class ClassTreeMethodItem : public ClassTreeItem
{
public:
- ClassTreeMethodItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeMethodItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedMethod *parsedMethod );
~ClassTreeMethodItem()
{
@@ -217,7 +217,7 @@ public:
class ClassTreeAttrItem : public ClassTreeItem
{
public:
- ClassTreeAttrItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeAttrItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedAttribute *parsedAttr );
~ClassTreeAttrItem()
{
@@ -229,7 +229,7 @@ public:
class ClassTreeScriptItem : public ClassTreeItem
{
public:
- ClassTreeScriptItem( ClassTreeItem *tqparent, ClassTreeItem *lastSibling,
+ ClassTreeScriptItem( ClassTreeItem *parent, ClassTreeItem *lastSibling,
ParsedScript *parsedScript );
~ClassTreeScriptItem()
{
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp
index 200ef9bb..b26ea30b 100644
--- a/parts/classview/classviewpart.cpp
+++ b/parts/classview/classviewpart.cpp
@@ -142,9 +142,9 @@ typedef KDevGenericFactory<ClassViewPart> ClassViewFactory;
static const KDevPluginInfo data("kdevclassview");
K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) )
-ClassViewPart::ClassViewPart(TQObject *tqparent, const char *name, const TQStringList& )
- :/// KDevPlugin( &data, tqparent, name ? name : "ClassViewPart" ),
- KDevCodeBrowserFrontend( &data, tqparent, name ? name : "ClassViewPart" ),
+ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& )
+ :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ),
+ KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ),
m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0)
{
setInstance(ClassViewFactory::instance());
diff --git a/parts/classview/classviewpart.h b/parts/classview/classviewpart.h
index 65044346..3bd2b259 100644
--- a/parts/classview/classviewpart.h
+++ b/parts/classview/classviewpart.h
@@ -57,7 +57,7 @@ class ClassViewPart : public Extensions::KDevCodeBrowserFrontend
Q_OBJECT
TQ_OBJECT
public:
- ClassViewPart(TQObject *tqparent, const char *name, const TQStringList &);
+ ClassViewPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~ClassViewPart();
bool langHasFeature(KDevLanguageSupport::Features feature);
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index a06948ab..a7a2fea3 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -1277,7 +1277,7 @@ void ClassViewWidget::slotCreateAccessMethods( )
if (item == 0)
return;
- m_part->languageSupport()->createAccessMethods(static_cast<ClassModel*>(static_cast<ClassDomBrowserItem*>(item->tqparent())->dom()),static_cast<VariableModel*>(item->dom()));
+ m_part->languageSupport()->createAccessMethods(static_cast<ClassModel*>(static_cast<ClassDomBrowserItem*>(item->parent())->dom()),static_cast<VariableModel*>(item->dom()));
}
}
diff --git a/parts/classview/classviewwidget.h b/parts/classview/classviewwidget.h
index 29276a31..bef2e5a0 100644
--- a/parts/classview/classviewwidget.h
+++ b/parts/classview/classviewwidget.h
@@ -121,10 +121,10 @@ class ClassViewItem: public FancyListViewItem
{
private:
public:
- ClassViewItem( TQListView* tqparent, const TQString& text=TQString() )
- : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent )->m_paintStyles, tqparent, text ) {}
- ClassViewItem( TQListViewItem* tqparent, const TQString& text=TQString() )
- : FancyListViewItem( static_cast<ClassViewWidget*>( tqparent->listView() )->m_paintStyles, tqparent, text ) {}
+ ClassViewItem( TQListView* parent, const TQString& text=TQString() )
+ : FancyListViewItem( static_cast<ClassViewWidget*>( parent )->m_paintStyles, parent, text ) {}
+ ClassViewItem( TQListViewItem* parent, const TQString& text=TQString() )
+ : FancyListViewItem( static_cast<ClassViewWidget*>( parent->listView() )->m_paintStyles, parent, text ) {}
virtual const CodeModelItem* model() const { return 0; }
@@ -153,10 +153,10 @@ public:
class FolderBrowserItem: public ClassViewItem
{
public:
- FolderBrowserItem( ClassViewWidget* widget, TQListView* tqparent, const TQString& name=TQString() )
- : ClassViewItem( tqparent, name ), m_widget(widget) {}
- FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* tqparent, const TQString& name=TQString() )
- : ClassViewItem( tqparent, name ), m_widget(widget) {}
+ FolderBrowserItem( ClassViewWidget* widget, TQListView* parent, const TQString& name=TQString() )
+ : ClassViewItem( parent, name ), m_widget(widget) {}
+ FolderBrowserItem( ClassViewWidget* widget, TQListViewItem* parent, const TQString& name=TQString() )
+ : ClassViewItem( parent, name ), m_widget(widget) {}
virtual bool isFolder() const { return true; }
@@ -185,10 +185,10 @@ private:
class NamespaceDomBrowserItem: public ClassViewItem
{
public:
- NamespaceDomBrowserItem( TQListView* tqparent, NamespaceDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- NamespaceDomBrowserItem( TQListViewItem* tqparent, NamespaceDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ NamespaceDomBrowserItem( TQListView* parent, NamespaceDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ NamespaceDomBrowserItem( TQListViewItem* parent, NamespaceDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
@@ -219,10 +219,10 @@ private:
class ClassDomBrowserItem: public ClassViewItem
{
public:
- ClassDomBrowserItem( TQListView* tqparent, ClassDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- ClassDomBrowserItem( TQListViewItem* tqparent, ClassDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ ClassDomBrowserItem( TQListView* parent, ClassDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ ClassDomBrowserItem( TQListViewItem* parent, ClassDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isClass() const { return true; }
@@ -257,10 +257,10 @@ private:
class TypeAliasDomBrowserItem: public ClassViewItem
{
public:
- TypeAliasDomBrowserItem( TQListView* tqparent, TypeAliasDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- TypeAliasDomBrowserItem( TQListViewItem* tqparent, TypeAliasDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ TypeAliasDomBrowserItem( TQListView* parent, TypeAliasDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ TypeAliasDomBrowserItem( TQListViewItem* parent, TypeAliasDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isTypeAlias() const { return true; }
@@ -285,10 +285,10 @@ private:
class FunctionDomBrowserItem: public ClassViewItem
{
public:
- FunctionDomBrowserItem( TQListView* tqparent, FunctionDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- FunctionDomBrowserItem( TQListViewItem* tqparent, FunctionDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ FunctionDomBrowserItem( TQListView* parent, FunctionDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ FunctionDomBrowserItem( TQListViewItem* parent, FunctionDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isFunction() const { return true; }
@@ -316,10 +316,10 @@ private:
class VariableDomBrowserItem: public ClassViewItem
{
public:
- VariableDomBrowserItem( TQListView* tqparent, VariableDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
- VariableDomBrowserItem( TQListViewItem* tqparent, VariableDom dom )
- : ClassViewItem( tqparent, dom->name() ), m_dom( dom ) {}
+ VariableDomBrowserItem( TQListView* parent, VariableDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
+ VariableDomBrowserItem( TQListViewItem* parent, VariableDom dom )
+ : ClassViewItem( parent, dom->name() ), m_dom( dom ) {}
const CodeModelItem* model() const { return m_dom; }
virtual bool isVariable() const { return true; }
diff --git a/parts/classview/digraphview.cpp b/parts/classview/digraphview.cpp
index 6374ce50..32463042 100644
--- a/parts/classview/digraphview.cpp
+++ b/parts/classview/digraphview.cpp
@@ -43,8 +43,8 @@ struct DigraphEdge
};
-DigraphView::DigraphView(TQWidget *tqparent, const char *name)
- : TQScrollView(tqparent, name, WRepaintNoErase|WStaticContents|WResizeNoErase)
+DigraphView::DigraphView(TQWidget *parent, const char *name)
+ : TQScrollView(parent, name, WRepaintNoErase|WStaticContents|WResizeNoErase)
{
viewport()->setBackgroundMode(PaletteBase);
diff --git a/parts/classview/digraphview.h b/parts/classview/digraphview.h
index 216e972e..b04f5306 100644
--- a/parts/classview/digraphview.h
+++ b/parts/classview/digraphview.h
@@ -27,7 +27,7 @@ class DigraphView : public TQScrollView
TQ_OBJECT
public:
- DigraphView(TQWidget *tqparent, const char *name);
+ DigraphView(TQWidget *parent, const char *name);
~DigraphView();
void addEdge(const TQString &name1, const TQString &name2);
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 01bfe2d0..6c9f65f9 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -85,10 +85,10 @@ private:
public:
enum Type { Declaration, Definition };
- FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListView *tqparent, TQString name, Type type)
- :FancyListViewItem(styles, tqparent, name, ""), m_part(part), m_type(type) {}
- FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListViewItem *tqparent, TQString name, Type type)
- :FancyListViewItem(styles, tqparent, name, ""), m_part(part), m_type(type) {}
+ FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListView *parent, TQString name, Type type)
+ :FancyListViewItem(styles, parent, name, ""), m_part(part), m_type(type) {}
+ FunctionNavItem(TextPaintStyleStore& styles, ClassViewPart *part, TQListViewItem *parent, TQString name, Type type)
+ :FancyListViewItem(styles, parent, name, ""), m_part(part), m_type(type) {}
~FunctionNavItem() {}
virtual void setup()
@@ -104,8 +104,8 @@ private:
};
-Navigator::Navigator(ClassViewPart *tqparent, const char *name)
- : TQObject(tqparent, name), m_part(tqparent)
+Navigator::Navigator(ClassViewPart *parent, const char *name)
+ : TQObject(parent, name), m_part(parent)
{
m_state = GoToDefinitions;
m_navNoDefinition = true;
diff --git a/parts/classview/navigator.h b/parts/classview/navigator.h
index 3338e4b1..d8482eb9 100644
--- a/parts/classview/navigator.h
+++ b/parts/classview/navigator.h
@@ -43,7 +43,7 @@ Q_OBJECT
public:
enum NavigationState { GoToDefinitions, GoToDeclarations };
- Navigator(ClassViewPart *tqparent, const char *name = 0);
+ Navigator(ClassViewPart *parent, const char *name = 0);
~Navigator();
void stopTimer();
diff --git a/parts/classview/viewcombos.cpp b/parts/classview/viewcombos.cpp
index bc1c4f3b..bb7bf01d 100644
--- a/parts/classview/viewcombos.cpp
+++ b/parts/classview/viewcombos.cpp
@@ -27,13 +27,13 @@
#include "viewcombos.h"
#include "classviewpart.h"
-NamespaceItem::NamespaceItem(ClassViewPart *part, TQListView *tqparent, TQString name, NamespaceDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListView *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-NamespaceItem::NamespaceItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, NamespaceDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+NamespaceItem::NamespaceItem(ClassViewPart *part, TQListViewItem *parent, TQString name, NamespaceDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -53,13 +53,13 @@ void NamespaceItem::setup()
}
-ClassItem::ClassItem(ClassViewPart *part, TQListView *tqparent, TQString name, ClassDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListView *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-ClassItem::ClassItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, ClassDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+ClassItem::ClassItem(ClassViewPart *part, TQListViewItem *parent, TQString name, ClassDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
@@ -79,13 +79,13 @@ void ClassItem::setup()
}
-FunctionItem::FunctionItem(ClassViewPart *part, TQListView *tqparent, TQString name, FunctionDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListView *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
-FunctionItem::FunctionItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, FunctionDom dom)
- :TQListViewItem(tqparent, name), m_dom(dom), m_part(part)
+FunctionItem::FunctionItem(ClassViewPart *part, TQListViewItem *parent, TQString name, FunctionDom dom)
+ :TQListViewItem(parent, name), m_dom(dom), m_part(part)
{
}
diff --git a/parts/classview/viewcombos.h b/parts/classview/viewcombos.h
index c3ea79a2..14a44eaf 100644
--- a/parts/classview/viewcombos.h
+++ b/parts/classview/viewcombos.h
@@ -34,8 +34,8 @@ const TQString EmptyFunctions = i18n("(Functions)");
class NamespaceItem: public TQListViewItem{
public:
- NamespaceItem(ClassViewPart *part, TQListView *tqparent, TQString name, NamespaceDom dom);
- NamespaceItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, NamespaceDom dom);
+ NamespaceItem(ClassViewPart *part, TQListView *parent, TQString name, NamespaceDom dom);
+ NamespaceItem(ClassViewPart *part, TQListViewItem *parent, TQString name, NamespaceDom dom);
~NamespaceItem();
NamespaceDom dom() const;
virtual void setup();
@@ -46,8 +46,8 @@ private:
class ClassItem: public TQListViewItem{
public:
- ClassItem(ClassViewPart *part, TQListView *tqparent, TQString name, ClassDom dom);
- ClassItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, ClassDom dom);
+ ClassItem(ClassViewPart *part, TQListView *parent, TQString name, ClassDom dom);
+ ClassItem(ClassViewPart *part, TQListViewItem *parent, TQString name, ClassDom dom);
~ClassItem();
ClassDom dom() const;
virtual void setup();
@@ -58,8 +58,8 @@ private:
class FunctionItem: public TQListViewItem{
public:
- FunctionItem(ClassViewPart *part, TQListView *tqparent, TQString name, FunctionDom dom);
- FunctionItem(ClassViewPart *part, TQListViewItem *tqparent, TQString name, FunctionDom dom);
+ FunctionItem(ClassViewPart *part, TQListView *parent, TQString name, FunctionDom dom);
+ FunctionItem(ClassViewPart *part, TQListViewItem *parent, TQString name, FunctionDom dom);
~FunctionItem();
FunctionDom dom() const;
virtual void setup();