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/src/quantaview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'quanta/src/quantaview.cpp') 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 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()) -- cgit v1.2.3