From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/classview/classtreebase.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'parts/classview/classtreebase.cpp') 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); -- cgit v1.2.1