diff options
Diffstat (limited to 'kate/part/katecodefoldinghelpers.h')
-rw-r--r-- | kate/part/katecodefoldinghelpers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kate/part/katecodefoldinghelpers.h b/kate/part/katecodefoldinghelpers.h index bea6a096c..37f90b732 100644 --- a/kate/part/katecodefoldinghelpers.h +++ b/kate/part/katecodefoldinghelpers.h @@ -79,7 +79,7 @@ class KateCodeFoldingNode inline KateCodeFoldingNode *child (uint index) const { return m_children[index]; } - inline int findChild (KateCodeFoldingNode *node, uint start = 0) const { return m_children.find (node, start); } + inline int tqfindChild (KateCodeFoldingNode *node, uint start = 0) const { return m_children.tqfind (node, start); } inline void appendChild (KateCodeFoldingNode *node) { m_children.resize(m_children.size()+1); m_children[m_children.size()-1] = node; } @@ -113,7 +113,7 @@ class KateCodeFoldingNode TQMemArray<KateCodeFoldingNode*> m_children; }; -class KateCodeFoldingTree : public QObject +class KateCodeFoldingTree : public TQObject { friend class KateCodeFoldingNode; @@ -123,7 +123,7 @@ class KateCodeFoldingTree : public QObject KateCodeFoldingTree (KateBuffer *buffer); ~KateCodeFoldingTree (); - KateCodeFoldingNode *findNodeForLine (unsigned int line); + KateCodeFoldingNode *tqfindNodeForLine (unsigned int line); unsigned int getRealLine (unsigned int virtualLine); unsigned int getVirtualLine (unsigned int realLine); @@ -141,7 +141,7 @@ class KateCodeFoldingTree : public QObject void fixRoot (int endLRel); void clear (); - KateCodeFoldingNode *findNodeForPosition(unsigned int line, unsigned int column); + KateCodeFoldingNode *tqfindNodeForPosition(unsigned int line, unsigned int column); private: KateCodeFoldingNode m_root; @@ -161,7 +161,7 @@ class KateCodeFoldingTree : public QObject static bool trueVal; - KateCodeFoldingNode *findNodeForLineDescending (KateCodeFoldingNode *, unsigned int, unsigned int, bool oneStepOnly=false); + KateCodeFoldingNode *tqfindNodeForLineDescending (KateCodeFoldingNode *, unsigned int, unsigned int, bool oneStepOnly=false); bool correctEndings (signed char data, KateCodeFoldingNode *node, unsigned int line, unsigned int endCol, int insertPos); @@ -185,8 +185,8 @@ class KateCodeFoldingTree : public QObject */ bool removeOpening (KateCodeFoldingNode *node,unsigned int line); - void findAndMarkAllNodesforRemovalOpenedOrClosedAt (unsigned int line); - void findAllNodesOpenedOrClosedAt (unsigned int line); + void tqfindAndMarkAllNodesforRemovalOpenedOrClosedAt (unsigned int line); + void tqfindAllNodesOpenedOrClosedAt (unsigned int line); void addNodeToFoundList (KateCodeFoldingNode *node,unsigned int line,int childpos); void addNodeToRemoveList (KateCodeFoldingNode *node,unsigned int line); @@ -219,4 +219,4 @@ class KateCodeFoldingTree : public QObject #endif -// kate: space-indent on; indent-width 2; replace-tabs on; +// kate: space-indent on; indent-width 2; tqreplace-tabs on; |