summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_random_accessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_random_accessor.cpp')
-rw-r--r--krita/core/kis_random_accessor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/core/kis_random_accessor.cpp b/krita/core/kis_random_accessor.cpp
index 3d538453..c2b2bec8 100644
--- a/krita/core/kis_random_accessor.cpp
+++ b/krita/core/kis_random_accessor.cpp
@@ -21,7 +21,7 @@
#include "kis_tiled_random_accessor.h"
-KisRandomAccessor::KisRandomAccessor(KisTiledDataManager *ktm, Q_INT32 x, Q_INT32 y, Q_INT32 offsetx, Q_INT32 offsety, bool writable) : m_offsetx(offsetx), m_offsety(offsety)
+KisRandomAccessor::KisRandomAccessor(KisTiledDataManager *ktm, TQ_INT32 x, TQ_INT32 y, TQ_INT32 offsetx, TQ_INT32 offsety, bool writable) : m_offsetx(offsetx), m_offsety(offsety)
{
m_accessor = new KisTiledRandomAccessor(ktm, x, y, writable);
}
@@ -35,22 +35,22 @@ KisRandomAccessor::~KisRandomAccessor()
}
-void KisRandomAccessor::moveTo(Q_INT32 x, Q_INT32 y)
+void KisRandomAccessor::moveTo(TQ_INT32 x, TQ_INT32 y)
{
m_accessor->moveTo(x - m_offsetx, y - m_offsety);
}
-Q_UINT8* KisRandomAccessor::rawData() const
+TQ_UINT8* KisRandomAccessor::rawData() const
{
return m_accessor->rawData();
}
-const Q_UINT8* KisRandomAccessor::oldRawData() const
+const TQ_UINT8* KisRandomAccessor::oldRawData() const
{
return m_accessor->oldRawData();
}
-KisRandomAccessorPixel::KisRandomAccessorPixel(KisTiledDataManager *ktm, KisTiledDataManager *ktmselect, Q_INT32 x, Q_INT32 y, Q_INT32 offsetx, Q_INT32 offsety, bool writable) :
+KisRandomAccessorPixel::KisRandomAccessorPixel(KisTiledDataManager *ktm, KisTiledDataManager *ktmselect, TQ_INT32 x, TQ_INT32 y, TQ_INT32 offsetx, TQ_INT32 offsety, bool writable) :
KisRandomAccessor( ktm, x, y, offsetx, offsety, writable),
KisRandomAccessorPixelTrait( this, (ktmselect) ? new KisRandomAccessor(ktm, x, y, offsetx, offsety, false) : 0 )
{