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.h | |
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.h')
-rw-r--r-- | krita/core/kis_paint_device_iface.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krita/core/kis_paint_device_iface.h b/krita/core/kis_paint_device_iface.h index d712f410..164b0380 100644 --- a/krita/core/kis_paint_device_iface.h +++ b/krita/core/kis_paint_device_iface.h @@ -23,7 +23,7 @@ #include <dcopref.h> #include <dcopobject.h> -#include <qstring.h> +#include <tqstring.h> class KisPaintDevice; @@ -31,18 +31,18 @@ class KisPaintDeviceIface : virtual public DCOPObject { K_DCOP public: - KisPaintDeviceIface( KisPaintDevice * parent ); + KisPaintDeviceIface( KisPaintDevice * tqparent ); k_dcop: /** * Return the number of bytes a pixel takes. */ - Q_INT32 pixelSize() const; + TQ_INT32 pixelSize() const; /** * Return the number of channels a pixel takes */ - Q_INT32 nChannels() const; + TQ_INT32 nChannels() const; /** * Read the bytes representing the rectangle described by x, y, w, h into @@ -54,7 +54,7 @@ k_dcop: * Reading from areas not previously initialized will read the default * pixel value into data. */ - QByteArray readBytes(Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h); + TQByteArray readBytes(TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h); /** * Copy the bytes in data into the rect specified by x, y, w, h. If there @@ -64,7 +64,7 @@ k_dcop: * If the data is written to areas of the paint device not previously initialized, * the paint device will grow. */ - void writeBytes(QByteArray bytes, Q_INT32 x, Q_INT32 y, Q_INT32 w, Q_INT32 h); + void writeBytes(TQByteArray bytes, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h); /** * Get the colorspace of this image |