diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/core/kis_paint_device_iface.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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_paint_device_iface.cc')
-rw-r--r-- | krita/core/kis_paint_device_iface.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krita/core/kis_paint_device_iface.cc b/krita/core/kis_paint_device_iface.cc index ff4c7034..1aace538 100644 --- a/krita/core/kis_paint_device_iface.cc +++ b/krita/core/kis_paint_device_iface.cc @@ -27,33 +27,33 @@ #include "kis_paint_device.h" -KisPaintDeviceIface::KisPaintDeviceIface( KisPaintDevice * parent ) +KisPaintDeviceIface::KisPaintDeviceIface( KisPaintDevice * tqparent ) : DCOPObject("paintdevice") { - m_parent = parent; + m_parent = tqparent; } -Q_INT32 KisPaintDeviceIface::pixelSize() const +TQ_INT32 KisPaintDeviceIface::pixelSize() const { return m_parent->pixelSize(); } -Q_INT32 KisPaintDeviceIface::nChannels() const +TQ_INT32 KisPaintDeviceIface::nChannels() const { return m_parent->nChannels(); } -QByteArray KisPaintDeviceIface::readBytes(Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h) +TQByteArray KisPaintDeviceIface::readBytes(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h) { - QByteArray b (w * h * m_parent->pixelSize()); + TQByteArray b (w * h * m_parent->pixelSize()); - m_parent->readBytes((Q_UINT8*)b.data(), x, y, w, h); + m_parent->readBytes((TQ_UINT8*)b.data(), x, y, w, h); return b; } -void KisPaintDeviceIface::writeBytes(QByteArray bytes, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h) +void KisPaintDeviceIface::writeBytes(TQByteArray bytes, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h) { - m_parent->writeBytes((Q_UINT8*)bytes.data(), x, y, w, h); + m_parent->writeBytes((TQ_UINT8*)bytes.data(), x, y, w, h); } DCOPRef KisPaintDeviceIface::colorSpace() const |