summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_random_accessor.cpp
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_random_accessor.cpp
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_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 )
{