summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippetitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /parts/snippet/snippetitem.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
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
Diffstat (limited to 'parts/snippet/snippetitem.cpp')
-rw-r--r--parts/snippet/snippetitem.cpp16
1 files changed, 8 insertions, 8 deletions
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<SnippetGroup*>(tqparent());
+ SnippetGroup * group = dynamic_cast<SnippetGroup*>(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;