summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_iterator.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/core/kis_iterator.cc
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/core/kis_iterator.cc')
-rw-r--r--krita/core/kis_iterator.cc36
1 files changed, 18 insertions, 18 deletions
diff --git a/krita/core/kis_iterator.cc b/krita/core/kis_iterator.cc
index f43f3d5b..0e0c2d81 100644
--- a/krita/core/kis_iterator.cc
+++ b/krita/core/kis_iterator.cc
@@ -17,7 +17,7 @@
*/
-#include <qglobal.h>
+#include <tqglobal.h>
#include <kdebug.h>
@@ -25,7 +25,7 @@
#include "kis_datamanager.h"
#include "kis_tilediterator.h"
-KisRectIterator::KisRectIterator ( KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h, bool writable)
+KisRectIterator::KisRectIterator ( KisDataManager *dm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h, bool writable)
{
m_iter = new KisTiledRectIterator(dm, x, y, w, h, writable);
}
@@ -44,11 +44,11 @@ KisRectIterator::~KisRectIterator()
{
}
-Q_UINT8 * KisRectIterator::rawData() const { return m_iter->rawData();}
+TQ_UINT8 * KisRectIterator::rawData() const { return m_iter->rawData();}
-const Q_UINT8 * KisRectIterator::oldRawData() const { return m_iter->oldRawData();}
+const TQ_UINT8 * KisRectIterator::oldRawData() const { return m_iter->oldRawData();}
-Q_INT32 KisRectIterator::nConseqPixels() const { return m_iter->nConseqPixels(); }
+TQ_INT32 KisRectIterator::nConseqPixels() const { return m_iter->nConseqPixels(); }
KisRectIterator & KisRectIterator::operator+=(int n) { m_iter->operator+=(n); return *this; }
@@ -56,12 +56,12 @@ KisRectIterator & KisRectIterator::operator++() { m_iter->operator++(); return *
bool KisRectIterator::isDone() const { return m_iter->isDone(); }
-Q_INT32 KisRectIterator::x() const { return m_iter->x(); }
-Q_INT32 KisRectIterator::y() const { return m_iter->y(); }
+TQ_INT32 KisRectIterator::x() const { return m_iter->x(); }
+TQ_INT32 KisRectIterator::y() const { return m_iter->y(); }
//---------------------------------------------------------------------------------------
-KisHLineIterator::KisHLineIterator ( KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 w, bool writable)
+KisHLineIterator::KisHLineIterator ( KisDataManager *dm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, bool writable)
{
m_iter = new KisTiledHLineIterator(dm, x, y, w, writable);
}
@@ -82,16 +82,16 @@ KisHLineIterator::~KisHLineIterator()
{
}
-Q_UINT8 *KisHLineIterator::rawData() const
+TQ_UINT8 *KisHLineIterator::rawData() const
{
return m_iter->rawData();
}
-const Q_UINT8 *KisHLineIterator::oldRawData() const { return m_iter->oldRawData();}
+const TQ_UINT8 *KisHLineIterator::oldRawData() const { return m_iter->oldRawData();}
KisHLineIterator & KisHLineIterator::operator++() { m_iter->operator++(); return *this; }
-Q_INT32 KisHLineIterator::nConseqHPixels() const { return m_iter->nConseqHPixels(); }
+TQ_INT32 KisHLineIterator::nConseqHPixels() const { return m_iter->nConseqHPixels(); }
KisHLineIterator & KisHLineIterator::operator+=(int n) { m_iter->operator+=(n); return *this; }
@@ -99,15 +99,15 @@ KisHLineIterator & KisHLineIterator::operator--() { m_iter->operator--(); return
bool KisHLineIterator::isDone() const { return m_iter->isDone(); }
-Q_INT32 KisHLineIterator::x() const { return m_iter->x(); }
+TQ_INT32 KisHLineIterator::x() const { return m_iter->x(); }
-Q_INT32 KisHLineIterator::y() const { return m_iter->y(); }
+TQ_INT32 KisHLineIterator::y() const { return m_iter->y(); }
void KisHLineIterator::nextRow() { m_iter->nextRow(); }
//---------------------------------------------------------------------------------------
-KisVLineIterator::KisVLineIterator ( KisDataManager *dm, Q_INT32 x, Q_INT32 y, Q_INT32 h, bool writable)
+KisVLineIterator::KisVLineIterator ( KisDataManager *dm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 h, bool writable)
{
m_iter = new KisTiledVLineIterator(dm, x, y, h, writable);
}
@@ -127,16 +127,16 @@ KisVLineIterator::~KisVLineIterator()
{
}
-Q_UINT8 *KisVLineIterator::rawData() const { return m_iter->rawData();}
+TQ_UINT8 *KisVLineIterator::rawData() const { return m_iter->rawData();}
-const Q_UINT8 * KisVLineIterator::oldRawData() const { return m_iter->oldRawData();}
+const TQ_UINT8 * KisVLineIterator::oldRawData() const { return m_iter->oldRawData();}
KisVLineIterator & KisVLineIterator::operator++() { m_iter->operator++(); return *this; }
bool KisVLineIterator::isDone() const { return m_iter->isDone(); }
-Q_INT32 KisVLineIterator::x() const { return m_iter->x(); }
+TQ_INT32 KisVLineIterator::x() const { return m_iter->x(); }
-Q_INT32 KisVLineIterator::y() const { return m_iter->y(); }
+TQ_INT32 KisVLineIterator::y() const { return m_iter->y(); }
void KisVLineIterator::nextCol() { return m_iter->nextCol(); }