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_substrate.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_substrate.h')
-rw-r--r-- | krita/core/kis_substrate.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/krita/core/kis_substrate.h b/krita/core/kis_substrate.h index 96207747..274f2680 100644 --- a/krita/core/kis_substrate.h +++ b/krita/core/kis_substrate.h @@ -18,7 +18,7 @@ #ifndef KIS_SUBSTRATE_H #define KIS_SUBSTRATE_H -#include <qrect.h> +#include <tqrect.h> #include <ksharedptr.h> class KisImage; @@ -30,10 +30,10 @@ struct KisSubstratePixel { float smoothness; // determines how easily the painting tool "slips" over the surface float absorbency; // determines how much wetness the substrate can absorb. XXX: How about speed of absorbing? float density; // XXX? - Q_UINT8 r; //.Red component of reflectivity - Q_UINT8 g; // Green component of reflectivity - Q_UINT8 b; // Blue component of reflectivity - Q_UINT8 alpha; // For composition with the background + TQ_UINT8 r; //.Red component of reflectivity + TQ_UINT8 g; // Green component of reflectivity + TQ_UINT8 b; // Blue component of reflectivity + TQ_UINT8 alpha; // For composition with the background }; /** @@ -56,13 +56,13 @@ public: * Copy the pixel values in the specified rect into an array of Substrate. * Make sure the array is big enough! */ - virtual void getPixels(KisSubstratePixel * substrate, const QRect & rc) const = 0; + virtual void getPixels(KisSubstratePixel * substrate, const TQRect & rc) const = 0; /** * Copy the specified rect of substrate pixels onto the substrate. Make sure * the array is big enough. */ - virtual void writePixels(const KisSubstratePixel * substrate, const QRect & rc) = 0; + virtual void writePixels(const KisSubstratePixel * substrate, const TQRect & rc) = 0; /** * Read the value at the specified position into the given substrate pixel. */ |