summaryrefslogtreecommitdiffstats
path: root/kate/part/katecodefoldinghelpers.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kate/part/katecodefoldinghelpers.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/katecodefoldinghelpers.h')
-rw-r--r--kate/part/katecodefoldinghelpers.h16
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;