From 84c989c19db5daab602a67f47ca0f5fd7a2b53d2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 12:01:04 -0600 Subject: Remove additional unneeded tq method conversions --- quanta/parts/kafka/kafkacommon.cpp | 6 +++--- quanta/parts/kafka/kafkacommon.h | 6 +++--- quanta/parts/kafka/kafkahtmlpart.h | 2 +- quanta/parts/kafka/undoredo.cpp | 4 ++-- quanta/parts/kafka/undoredo.h | 12 ++++++------ 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'quanta/parts/kafka') diff --git a/quanta/parts/kafka/kafkacommon.cpp b/quanta/parts/kafka/kafkacommon.cpp index 5d7e8cdb..32f5f43c 100644 --- a/quanta/parts/kafka/kafkacommon.cpp +++ b/quanta/parts/kafka/kafkacommon.cpp @@ -999,7 +999,7 @@ Node* kafkaCommon::insertNode(Node *node, Node* parentNode, Node* nextSibling, if(!node) return 0L; - //Reset the listviews items pointers for node and its tqchildren + //Reset the listviews items pointers for node and its children n = node; b = false; while(n) @@ -1100,7 +1100,7 @@ Node* kafkaCommon::insertNode(Node *node, Node* parentNode, Node* nextSibling, N if(!node) return 0L; - //Reset the listviews items pointers for node and its tqchildren + //Reset the listviews items pointers for node and its children n = node; b = false; while(n) @@ -2253,7 +2253,7 @@ Node* kafkaCommon::extractNode(Node *node, NodeModifsSet *modifs, bool extractCh modif->setType(NodeModif::NodeRemoved); modif->setLocation(getLocation(node)); - //log the tqchildren move if we don't extract the tqchildren + //log the children move if we don't extract the children if(!extractChildren) { location = getLocation(node); diff --git a/quanta/parts/kafka/kafkacommon.h b/quanta/parts/kafka/kafkacommon.h index 60d8971c..6322919d 100644 --- a/quanta/parts/kafka/kafkacommon.h +++ b/quanta/parts/kafka/kafkacommon.h @@ -522,8 +522,8 @@ public: * This mean that the undo/redo system will delete it when necessary so don't reuse it!!!! * @param node The node to delete. * @param modifs The changes made are logged into modifs. - * @param extractChilds If we extract or move up the tqchildren. WARNING: it don't check - * if the tqchildren of node are legal childs of the parent of node. + * @param extractChilds If we extract or move up the children. WARNING: it don't check + * if the children of node are legal childs of the parent of node. * @param removeClosingTag Extract the closingTag if node isn't single and is Tag::XmlTag. * TODO: @param removeEmbeddedTags Specifies if we delete the embedded Nodes e.g. * : the PHP block is an embedded block. @@ -986,7 +986,7 @@ public: /** * Returns the position of the child domNode. * @param domNode This is the DOM::Node we want the position. - * @return Returns the position of domNode inside domNode's parent's tqchildren or -1 if not found. + * @return Returns the position of domNode inside domNode's parent's children or -1 if not found. */ static int childPosition(DOM::Node domNode); diff --git a/quanta/parts/kafka/kafkahtmlpart.h b/quanta/parts/kafka/kafkahtmlpart.h index 17c25ddf..3f3e3c83 100644 --- a/quanta/parts/kafka/kafkahtmlpart.h +++ b/quanta/parts/kafka/kafkahtmlpart.h @@ -113,7 +113,7 @@ public: /** --------------- DOM::Node modifications -------------------------- */ /** - * It will move DOM::Nodes from startNode to endNode as tqchildren of newParent. It does NOT check + * It will move DOM::Nodes from startNode to endNode as children of newParent. It does NOT check * if the move is valid, so it may crash. Please check before with kafkaCommon::parentSupports(). * @param newParent The new parent of the DOM::Nodes. * @param startNode The first node to move. diff --git a/quanta/parts/kafka/undoredo.cpp b/quanta/parts/kafka/undoredo.cpp index 1e177b0c..d21129cd 100644 --- a/quanta/parts/kafka/undoredo.cpp +++ b/quanta/parts/kafka/undoredo.cpp @@ -51,7 +51,7 @@ NodeModif::NodeModif() m_type = -1; m_node = 0L; m_tag = 0L; - m_tqchildrenMovedUp = 0; + m_childrenMovedUp = 0; m_neighboursMovedDown = 0; } @@ -1477,7 +1477,7 @@ void undoRedo::debugOutput() " - contents: " << (*it2)->tag()->tagStr() << endl; if(((*it2)->type() == NodeModif::NodeRemoved && !afterEditorIt) || ((*it2)->type() == NodeModif::NodeAdded && afterEditorIt)) - kdDebug(24000)<< "==== ChildsNumber1 : " << (*it2)->tqchildrenMovedUp() << + kdDebug(24000)<< "==== ChildsNumber1 : " << (*it2)->childrenMovedUp() << " - ChildsNumber2 : " << (*it2)->neighboursMovedDown() << endl; } kdDebug(24000)<< "== End Node Modifications set #" << i << endl; diff --git a/quanta/parts/kafka/undoredo.h b/quanta/parts/kafka/undoredo.h index 6280a67f..6464c46d 100644 --- a/quanta/parts/kafka/undoredo.h +++ b/quanta/parts/kafka/undoredo.h @@ -95,17 +95,17 @@ public: /** * TODO:REMOVE - * For non-XmlEnd Node deletion without its tqchildren. - * @param tqchildrenNumber The number of tqchildren which are moved up + * For non-XmlEnd Node deletion without its children. + * @param childrenNumber The number of children which are moved up * at the location where was the deleted Node. */ - void setChildrenMovedUp(int tqchildrenNumber) {m_tqchildrenMovedUp = tqchildrenNumber;} + void setChildrenMovedUp(int childrenNumber) {m_childrenMovedUp = childrenNumber;} /** * TODO:REMOVE * @return Returns the number of childs which were moved up. */ - int tqchildrenMovedUp() {return m_tqchildrenMovedUp;} + int childrenMovedUp() {return m_childrenMovedUp;} /** * TODO:REMOVE @@ -139,7 +139,7 @@ public: NodeTreeRemoved, //Moving a Node from one location to another. Implemented. NodeMoved, - //Moving a Node and its tqchildren from one location to another. + //Moving a Node and its children from one location to another. NodeAndChildsMoved }; @@ -148,7 +148,7 @@ private: TQValueList m_location, m_finalLocation; Node *m_node; Tag *m_tag; - int m_tqchildrenMovedUp; + int m_childrenMovedUp; int m_neighboursMovedDown; }; -- cgit v1.2.1