summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_paint_device_iface.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_paint_device_iface.cc')
-rw-r--r--krita/core/kis_paint_device_iface.cc18
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