From 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 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/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/treeviews/structtreetag.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'quanta/treeviews/structtreetag.cpp') diff --git a/quanta/treeviews/structtreetag.cpp b/quanta/treeviews/structtreetag.cpp index fb0573a4..e897d14c 100644 --- a/quanta/treeviews/structtreetag.cpp +++ b/quanta/treeviews/structtreetag.cpp @@ -31,20 +31,20 @@ #include "document.h" #include "resource.h" -StructTreeTag::StructTreeTag(TQListView *tqparent, TQString a_title) - : KListViewItem(tqparent, a_title) +StructTreeTag::StructTreeTag(TQListView *parent, TQString a_title) + : KListViewItem(parent, a_title) { node = 0L; hasOpenFileMenu = false; groupTag = 0L; - parentTree = static_cast(tqparent); + parentTree = static_cast(parent); } -StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQString a_title, +StructTreeTag::StructTreeTag(StructTreeTag *parent, Node *a_node, const TQString a_title, TQListViewItem *after ) -: KListViewItem(tqparent, after, a_title) +: KListViewItem(parent, after, a_title) { - parentTree = tqparent->parentTree; + parentTree = parent->parentTree; hasOpenFileMenu = false; groupTag = 0L; static const TQString space = " "; @@ -106,8 +106,8 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri if (!typingInProgress) { TQTag *parentTQTag = 0L; - if (node->tqparent) - parentTQTag = QuantaCommon::tagFromDTD(node->tqparent); + if (node->parent) + parentTQTag = QuantaCommon::tagFromDTD(node->parent); TQString qTagName = node->tag->dtd()->caseSensitive ? node->tag->name : node->tag->name.upper(); int line, col; node->tag->beginPos(line, col); @@ -115,7 +115,7 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri !parentTQTag->childTags.isEmpty()) { node->tag->write()->setErrorMark(line); - TQString parentTagName = node->tag->dtd()->caseSensitive ? node->tqparent->tag->name : node->tqparent->tag->name.upper(); + TQString parentTagName = node->tag->dtd()->caseSensitive ? node->parent->tag->name : node->parent->tag->name.upper(); parentTree->showMessage(i18n("Line %1: %2 is not a possible child of %3.\n").tqarg(line + 1).tqarg(qTagName).tqarg(parentTagName)); } TQString nextTagName; @@ -201,13 +201,13 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri } } -StructTreeTag::StructTreeTag(StructTreeTag *tqparent, TQString a_title ) -: KListViewItem(tqparent, a_title) +StructTreeTag::StructTreeTag(StructTreeTag *parent, TQString a_title ) +: KListViewItem(parent, a_title) { node = 0L; hasOpenFileMenu = false; groupTag = 0L; - parentTree = tqparent->parentTree; + parentTree = parent->parentTree; } -- cgit v1.2.3