diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/katecodefoldinghelpers.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/katecodefoldinghelpers.h')
-rw-r--r-- | kate/part/katecodefoldinghelpers.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kate/part/katecodefoldinghelpers.h b/kate/part/katecodefoldinghelpers.h index bd5e5e8d5..72aebd49d 100644 --- a/kate/part/katecodefoldinghelpers.h +++ b/kate/part/katecodefoldinghelpers.h @@ -20,11 +20,11 @@ #define _KATE_CODEFOLDING_HELPERS_ //BEGIN INCLUDES + FORWARDS -#include <qptrlist.h> -#include <qvaluelist.h> -#include <qobject.h> -#include <qintdict.h> -#include <qmemarray.h> +#include <tqptrlist.h> +#include <tqvaluelist.h> +#include <tqobject.h> +#include <tqintdict.h> +#include <tqmemarray.h> class KateCodeFoldingTree; class KateTextCursor; @@ -110,7 +110,7 @@ class KateCodeFoldingNode bool deleteOpening; bool deleteEnding; - QMemArray<KateCodeFoldingNode*> m_children; + TQMemArray<KateCodeFoldingNode*> m_children; }; class KateCodeFoldingTree : public QObject @@ -148,12 +148,12 @@ class KateCodeFoldingTree : public QObject KateBuffer *m_buffer; - QIntDict<unsigned int> lineMapping; - QIntDict<bool> dontIgnoreUnchangedLines; + TQIntDict<unsigned int> lineMapping; + TQIntDict<bool> dontIgnoreUnchangedLines; - QPtrList<KateCodeFoldingNode> markedForDeleting; - QPtrList<KateCodeFoldingNode> nodesForLine; - QValueList<KateHiddenLineBlock> hiddenLines; + TQPtrList<KateCodeFoldingNode> markedForDeleting; + TQPtrList<KateCodeFoldingNode> nodesForLine; + TQValueList<KateHiddenLineBlock> hiddenLines; unsigned int hiddenLinesCountCache; bool something_changed; @@ -165,9 +165,9 @@ class KateCodeFoldingTree : public QObject bool correctEndings (signed char data, KateCodeFoldingNode *node, unsigned int line, unsigned int endCol, int insertPos); - void dumpNode (KateCodeFoldingNode *node, const QString &prefix); - void addOpening (KateCodeFoldingNode *node, signed char nType,QMemArray<uint>* list, unsigned int line,unsigned int charPos); - void addOpening_further_iterations (KateCodeFoldingNode *node,signed char nType, QMemArray<uint>* + void dumpNode (KateCodeFoldingNode *node, const TQString &prefix); + void addOpening (KateCodeFoldingNode *node, signed char nType,TQMemArray<uint>* list, unsigned int line,unsigned int charPos); + void addOpening_further_iterations (KateCodeFoldingNode *node,signed char nType, TQMemArray<uint>* list,unsigned int line,int current,unsigned int startLine,unsigned int charPos); void incrementBy1 (KateCodeFoldingNode *node, KateCodeFoldingNode *after); @@ -201,7 +201,7 @@ class KateCodeFoldingTree : public QObject void moveSubNodesUp (KateCodeFoldingNode *node); public slots: - void updateLine (unsigned int line,QMemArray<uint>* regionChanges, bool *updated, bool changed,bool colschanged); + void updateLine (unsigned int line,TQMemArray<uint>* regionChanges, bool *updated, bool changed,bool colschanged); void toggleRegionVisibility (unsigned int); void collapseToplevelNodes (); void expandToplevelNodes (int numLines); |