summaryrefslogtreecommitdiffstats
path: root/quanta/src/quantaview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src/quantaview.cpp')
-rw-r--r--quanta/src/quantaview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/src/quantaview.cpp b/quanta/src/quantaview.cpp
index dbbb6578..fcfe0871 100644
--- a/quanta/src/quantaview.cpp
+++ b/quanta/src/quantaview.cpp
@@ -76,8 +76,8 @@
extern int NN;
extern TQValueList<Node*> nodes;
-QuantaView::QuantaView(TQWidget *tqparent, const char *name, const TQString &caption )
- : KMdiChildView(tqparent, name)
+QuantaView::QuantaView(TQWidget *parent, const char *name, const TQString &caption )
+ : KMdiChildView(parent, name)
, m_document(0L)
, m_plugin(0L)
, m_customWidget(0L)
@@ -833,11 +833,11 @@ void QuantaView::insertOutputInTheNodeTree(const TQString &str1, const TQString
nodeParent = nodeCursor;
if (nodeParent->tag->type == Tag::Text)
- nodeParent = nodeParent->tqparent;
+ nodeParent = nodeParent->parent;
- //Checking if at least one tqparent of node can have a Text Node as child, otherwise
+ //Checking if at least one parent of node can have a Text Node as child, otherwise
//it is impossible for the
- //user to add this node. In that case, try to insert the Node in the closest tqparent accepting it.
+ //user to add this node. In that case, try to insert the Node in the closest parent accepting it.
//e.g. TR : a normal insertion would require to have the caret in the TABLE Node, but it is
//impossible
nodeTQTag = QuantaCommon::tagFromDTD(m_document->defaultDTD(),
@@ -904,7 +904,7 @@ void QuantaView::insertOutputInTheNodeTree(const TQString &str1, const TQString
nodeTreeModified = false;
if (specialTagInsertion)
{
- //let's try to insert this node in the closest tqparent accepting it.
+ //let's try to insert this node in the closest parent accepting it.
while (nodeParent)
{
nodeParentTQTag =
@@ -919,7 +919,7 @@ void QuantaView::insertOutputInTheNodeTree(const TQString &str1, const TQString
nodeTreeModified = true;
break;
}
- nodeParent = nodeParent->tqparent;
+ nodeParent = nodeParent->parent;
}
}
else if (hasSelection && !nodeTQTag->isSingle())