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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/treeviews/structtreetag.cpp b/quanta/treeviews/structtreetag.cpp
index fbd41228..fb0573a4 100644
--- a/quanta/treeviews/structtreetag.cpp
+++ b/quanta/treeviews/structtreetag.cpp
@@ -111,7 +111,7 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri
TQString qTagName = node->tag->dtd()->caseSensitive ? node->tag->name : node->tag->name.upper();
int line, col;
node->tag->beginPos(line, col);
- if (parentTQTag && !parentTQTag->childTags.tqcontains(qTagName) &&
+ if (parentTQTag && !parentTQTag->childTags.contains(qTagName) &&
!parentTQTag->childTags.isEmpty())
{
node->tag->write()->setErrorMark(line);
@@ -143,7 +143,7 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri
{
title = tag->tagStr();
title = title.left(70).stripWhiteSpace();
- title.tqreplace( nbspRx," ");
+ title.replace( nbspRx," ");
break;
}
case Tag::Comment:
@@ -151,7 +151,7 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri
setPixmap( 0, UserIcon("tag_comm") );
title = tag->tagStr();
title = title.left(70).stripWhiteSpace();
- title.tqreplace( nbspRx," ");
+ title.replace( nbspRx," ");
break;
}
case Tag::ScriptTag:
@@ -195,7 +195,7 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, Node *a_node, const TQStri
title = a_title;
}
- title.tqreplace(newLineRx," ");
+ title.replace(newLineRx," ");
setText(0, title);
node->listItems.append(this);
}
@@ -213,5 +213,5 @@ StructTreeTag::StructTreeTag(StructTreeTag *tqparent, TQString a_title )
StructTreeTag::~StructTreeTag(){
if (node)
- node->listItems.remove(node->listItems.tqfind(this));
+ node->listItems.remove(node->listItems.find(this));
}