summaryrefslogtreecommitdiffstats
path: root/kate/part/katebuffer.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/katebuffer.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/katebuffer.h')
-rw-r--r--kate/part/katebuffer.h24
1 files changed, 12 insertions, 12 deletions
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 <bastian@kde.org>
@@ -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 <bastian@kde.org>
* @author Christoph Cullmann <cullmann@kde.org>
*/
-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;