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