diff options
Diffstat (limited to 'quanta/parts/kafka/undoredo.h')
-rw-r--r-- | quanta/parts/kafka/undoredo.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/parts/kafka/undoredo.h b/quanta/parts/kafka/undoredo.h index f9ec09cf..390dc5bb 100644 --- a/quanta/parts/kafka/undoredo.h +++ b/quanta/parts/kafka/undoredo.h @@ -18,9 +18,9 @@ #ifndef UNDOREDO_H #define UNDOREDO_H -#include <qvaluelist.h> -#include <qptrlist.h> -#include <qobject.h> +#include <tqvaluelist.h> +#include <tqptrlist.h> +#include <tqobject.h> #include "node.h" class Document; @@ -53,23 +53,23 @@ public: * For all type : Location of the Node added/modified/removed/moved. * @param location The location of the Node, cf kafkaCommon::getNodeLocation() */ - void setLocation(QValueList<int> location) {m_location = location;} + void setLocation(TQValueList<int> location) {m_location = location;} /** * @return Returns the location of the Node which have been modified. */ - QValueList<int>& location() {return m_location;} + TQValueList<int>& location() {return m_location;} /** * For Node move : Final location of the Node moved. * @param location The final location of the Node moved, cf kafkaCommon::getNodeLocation() */ - void setFinalLocation(QValueList<int> location) {m_finalLocation = location;} + void setFinalLocation(TQValueList<int> location) {m_finalLocation = location;} /** * @return Returns the final location of the Node which was moved. */ - QValueList<int>& finalLocation() {return m_finalLocation;} + TQValueList<int>& finalLocation() {return m_finalLocation;} /** * For Node deletion: Store the deleted Node. @@ -145,7 +145,7 @@ public: private: int m_type; - QValueList<int> m_location, m_finalLocation; + TQValueList<int> m_location, m_finalLocation; Node *m_node; Tag *m_tag; int m_childrenMovedUp; @@ -170,7 +170,7 @@ public: /** * Returns the list of NodeModifs. */ - QPtrList<NodeModif> & nodeModifList() {return m_nodeModifList;} + TQPtrList<NodeModif> & nodeModifList() {return m_nodeModifList;} /** * Set the Modified flag BEFORE the user input. @@ -195,12 +195,12 @@ public: /** * Set a description to the user input. */ - void setDescription(const QString &description) {m_description = description;} + void setDescription(const TQString &description) {m_description = description;} /** * @return Returns the description of the user input. */ - QString description() {return m_description;} + TQString description() {return m_description;} /** * Set the coordinates of the selection before the user input. @@ -237,9 +237,9 @@ public: private: - QPtrList<NodeModif> m_nodeModifList; + TQPtrList<NodeModif> m_nodeModifList; bool m_isModifiedBefore, m_isModifiedAfter; - QString m_description; + TQString m_description; NodeSelectionInd *m_selectionBefore, *m_selectionAfter; int m_indentationStartOffset, m_type; }; @@ -429,7 +429,7 @@ private: /** * The main undoRedo list which contains the NodeModifsSet. */ - QPtrList<NodeModifsSet> m_undoList; + TQPtrList<NodeModifsSet> m_undoList; /** * The undoRedo list iterators which point the current location of each component in * the undoRedo list. @@ -437,13 +437,13 @@ private: * sourceIterator point the current location of the source view (kate). * kafkaIterator point the current location of the VPL view (kafka). */ - QPtrListIterator<NodeModifsSet> documentIterator; - QPtrListIterator<NodeModifsSet> sourceIterator; - QPtrListIterator<NodeModifsSet> kafkaIterator; + TQPtrListIterator<NodeModifsSet> documentIterator; + TQPtrListIterator<NodeModifsSet> sourceIterator; + TQPtrListIterator<NodeModifsSet> kafkaIterator; int m_listLimit; bool m_merging; bool addingText; - QValueList<int> m_currentLoc; + TQValueList<int> m_currentLoc; Document *m_doc; bool m_mergeNext; int m_dontAddModifSet; |