summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/structtreetag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/structtreetag.cpp')
-rw-r--r--quanta/treeviews/structtreetag.cpp24
1 files changed, 12 insertions, 12 deletions
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<StructTreeView*>(tqparent);
+ parentTree = static_cast<StructTreeView*>(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;
}