From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: 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 --- kate/part/katebuffer.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kate/part/katebuffer.h') diff --git a/kate/part/katebuffer.h b/kate/part/katebuffer.h index 602571c53..0f6672f0b 100644 --- a/kate/part/katebuffer.h +++ b/kate/part/katebuffer.h @@ -40,7 +40,7 @@ class KateFileLoader; class TQTextCodec; /** - * The KateBufBlock class contains an amount of data representing + * The KateBufBlock class tqcontains an amount of data representing * a certain number of lines. * * @author Waldo Bastian @@ -116,7 +116,7 @@ class KateBufBlock void removeLine(uint i); /** - * mark this block as dirty, will invalidate the swap data + * mark this block as dirty, will tqinvalidate the swap data * insert/removeLine will mark the block dirty itself */ void markDirty (); @@ -338,7 +338,7 @@ class KateBufBlockList * @author Waldo Bastian * @author Christoph Cullmann */ -class KateBuffer : public QObject +class KateBuffer : public TQObject { Q_OBJECT @@ -487,7 +487,7 @@ class KateBuffer : public QObject */ inline KateTextLine::Ptr line(uint i) { - KateBufBlock *buf = findBlock(i); + KateBufBlock *buf = tqfindBlock(i); if (!buf) return 0; @@ -511,7 +511,7 @@ class KateBuffer : public QObject */ inline KateTextLine::Ptr plainLine(uint i) { - KateBufBlock *buf = findBlock(i); + KateBufBlock *buf = tqfindBlock(i); if (!buf) return 0; @@ -529,7 +529,7 @@ class KateBuffer : public QObject * index pointer gets filled with index of block in m_blocks * index only valid if returned block != 0 ! */ - KateBufBlock *findBlock (uint i, uint *index = 0) + KateBufBlock *tqfindBlock (uint i, uint *index = 0) { // out of range ! if (i >= m_lines) @@ -543,10 +543,10 @@ class KateBuffer : public QObject return m_blocks[m_lastFoundBlock]; } - return findBlock_internal (i, index); + return tqfindBlock_internal (i, index); } - KateBufBlock *findBlock_internal (uint i, uint *index = 0); + KateBufBlock *tqfindBlock_internal (uint i, uint *index = 0); public: /** @@ -591,7 +591,7 @@ class KateBuffer : public QObject /** * Invalidate highlighting of whole buffer. */ - void invalidateHighlighting(); + void tqinvalidateHighlighting(); KateCodeFoldingTree *foldingTree () { return &m_regionTree; }; @@ -611,7 +611,7 @@ class KateBuffer : public QObject * @returns true when the highlighting in the next block needs to be updated, * false otherwise. */ - bool doHighlight (KateBufBlock *buf, uint from, uint to, bool invalidate); + bool doHighlight (KateBufBlock *buf, uint from, uint to, bool tqinvalidate); signals: /** @@ -648,7 +648,7 @@ class KateBuffer : public QObject uint m_lastInSyncBlock; /** - * last block found by findBlock, there to make searching faster + * last block found by tqfindBlock, there to make searching faster */ uint m_lastFoundBlock; @@ -706,4 +706,4 @@ class KateBuffer : public QObject #endif -// kate: space-indent on; indent-width 2; replace-tabs on; +// kate: space-indent on; indent-width 2; tqreplace-tabs on; -- cgit v1.2.1