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/snippet/snippetitem.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'parts/snippet/snippetitem.cpp') diff --git a/parts/snippet/snippetitem.cpp b/parts/snippet/snippetitem.cpp index 69010a5d..e2f08a2b 100644 --- a/parts/snippet/snippetitem.cpp +++ b/parts/snippet/snippetitem.cpp @@ -11,20 +11,20 @@ #include "snippetitem.h" -SnippetItem::SnippetItem(TQListView * tqparent, TQString name, TQString text ) - : TQListViewItem( tqparent, name ) +SnippetItem::SnippetItem(TQListView * parent, TQString name, TQString text ) + : TQListViewItem( parent, name ) { strName = name; strText = text; iParent = -1; } -SnippetItem::SnippetItem(TQListViewItem * tqparent, TQString name, TQString text) - : TQListViewItem( tqparent, name ) +SnippetItem::SnippetItem(TQListViewItem * parent, TQString name, TQString text) + : TQListViewItem( parent, name ) { strName = name; strText = text; - iParent = ((SnippetGroup *)tqparent)->getId(); + iParent = ((SnippetGroup *)parent)->getId(); } SnippetItem::~SnippetItem() @@ -69,7 +69,7 @@ void SnippetItem::setName(TQString name) void SnippetItem::resetParent() { - SnippetGroup * group = dynamic_cast(tqparent()); + SnippetGroup * group = dynamic_cast(parent()); if (group) iParent = group->getId(); } @@ -100,8 +100,8 @@ Deklaration for class SnippetGroup int SnippetGroup::iMaxId = 1; -SnippetGroup::SnippetGroup(TQListView * tqparent, TQString name, int id, TQString lang) - : SnippetItem(tqparent, name, "GROUP") +SnippetGroup::SnippetGroup(TQListView * parent, TQString name, int id, TQString lang) + : SnippetItem(parent, name, "GROUP") { if (id > 0) { iId = id; -- cgit v1.2.1