diff options
Diffstat (limited to 'lib/kformula/formulacursor.h')
| -rw-r--r-- | lib/kformula/formulacursor.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/kformula/formulacursor.h b/lib/kformula/formulacursor.h index 72cfb1781..1aa5d8bff 100644 --- a/lib/kformula/formulacursor.h +++ b/lib/kformula/formulacursor.h @@ -21,7 +21,7 @@ #ifndef FORMULACURSOR_H #define FORMULACURSOR_H -#include <qstring.h> +#include <tqstring.h> #include "basicelement.h" #include "kformuladefs.h" @@ -104,7 +104,7 @@ public: * Draws the cursor at its current position. * The cursor will always be drawn in xor mode. */ - void draw( QPainter&, const ContextStyle& context, StyleAttributes& style, + void draw( TQPainter&, const ContextStyle& context, StyleAttributes& style, bool smallCursor, bool activeCursor ); @@ -152,19 +152,19 @@ public: void insert(BasicElement*, Direction = beforeCursor); /** - * Inserts the listed children at the current position. + * Inserts the listed tqchildren at the current position. * Ignores the selection. * The list will be emptied. */ - void insert(QPtrList<BasicElement>&, + void insert(TQPtrList<BasicElement>&, Direction = beforeCursor); /** - * Removes the current selected children and returns them. + * Removes the current selected tqchildren and returns them. * The cursor needs to be normal (that is be inside a SequenceElement) * for this to have any effect. */ - void remove(QPtrList<BasicElement>&, + void remove(TQPtrList<BasicElement>&, Direction = beforeCursor); @@ -182,7 +182,7 @@ public: BasicElement* replaceByMainChildContent(Direction = beforeCursor); /** - * Trys to find the element we are the main child of and replace + * Trys to find the element we are the main child of and tqreplace * it with our content. * * This is simply another form of replaceByMainChildContent. You @@ -200,8 +200,8 @@ public: // The range that is selected. Makes no sense if there is // no selection. - int getSelectionStart() const { return QMIN(getPos(), getMark()); } - int getSelectionEnd() const { return QMAX(getPos(), getMark()); } + int getSelectionStart() const { return TQMIN(getPos(), getMark()); } + int getSelectionEnd() const { return TQMAX(getPos(), getMark()); } /** @@ -291,19 +291,19 @@ public: /** * Stores the currently selected elements inside a dom. */ - void copy( QDomDocument& doc ); + void copy( TQDomDocument& doc ); /** * Inserts the elements that could be read from the dom into * the list. Returns true on success. */ - bool buildElementsFromDom( QDomElement root, QPtrList<BasicElement>& list ); + bool buildElementsFromDom( TQDomElement root, TQPtrList<BasicElement>& list ); /** * Inserts the elements that could be read from the MathML dom into * the list. Returns true on success. */ - bool buildElementsFromMathMLDom( QDomElement root, QPtrList<BasicElement>& list ); + bool buildElementsFromMathMLDom( TQDomElement root, TQPtrList<BasicElement>& list ); // undo/redo support @@ -341,7 +341,7 @@ public: void setCursorData(CursorData* data); /** - * The element is going to leave the formula with and all its children. + * The element is going to leave the formula with and all its tqchildren. */ void elementWillVanish(BasicElement* element); @@ -409,7 +409,7 @@ private: /** * The position the cursor in on inside the element. - * Might be anything from 0 to current->children->size(). + * Might be anything from 0 to current->tqchildren->size(). * * This is where new elements are put in. */ |
