summaryrefslogtreecommitdiffstats
path: root/krita/plugins/viewplugins/dropshadow/kis_dropshadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/viewplugins/dropshadow/kis_dropshadow.h')
-rw-r--r--krita/plugins/viewplugins/dropshadow/kis_dropshadow.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/krita/plugins/viewplugins/dropshadow/kis_dropshadow.h b/krita/plugins/viewplugins/dropshadow/kis_dropshadow.h
index 3aca424f..94c6decc 100644
--- a/krita/plugins/viewplugins/dropshadow/kis_dropshadow.h
+++ b/krita/plugins/viewplugins/dropshadow/kis_dropshadow.h
@@ -31,36 +31,37 @@ typedef enum
} BlurMethod;
-class QColor;
+class TQColor;
class KisView;
class KisProgressDisplayInterface;
class KisDropshadow : public KisProgressSubject {
Q_OBJECT
+ TQ_OBJECT
public:
KisDropshadow(KisView * view);
virtual ~KisDropshadow() {};
- void dropshadow(KisProgressDisplayInterface * progress, Q_INT32 xoffset, Q_INT32 yoffset, Q_INT32 blurradius, QColor color, Q_UINT8 opacity, bool allowResize);
+ void dropshadow(KisProgressDisplayInterface * progress, TQ_INT32 xoffset, TQ_INT32 yoffset, TQ_INT32 blurradius, TQColor color, TQ_UINT8 opacity, bool allowResize);
public: // Implement KisProgressSubject
virtual void cancel() { m_cancelRequested = true; }
private:
void gaussianblur (KisPaintDeviceSP src, KisPaintDeviceSP dst,
- QRect& rect, double horz, double vert,
+ TQRect& rect, double horz, double vert,
BlurMethod method,
KisProgressDisplayInterface * progressDisplay);
//gaussian blur helper functions
void find_constants(double n_p[], double n_m[], double d_p[], double d_m[], double bd_p[], double bd_m[], double std_dev);
- void transfer_pixels(double *src1, double *src2, Q_UINT8 *dest, Q_INT32 bytes, Q_INT32 width);
- Q_INT32* make_curve(double sigma, Q_INT32 *length);
- void run_length_encode (Q_UINT8 *src, Q_INT32 *dest, Q_INT32 bytes, Q_INT32 width);
- void multiply_alpha (Q_UINT8 *buf, Q_INT32 width, Q_INT32 bytes);
- void separate_alpha (Q_UINT8 *buf, Q_INT32 width, Q_INT32 bytes);
+ void transfer_pixels(double *src1, double *src2, TQ_UINT8 *dest, TQ_INT32 bytes, TQ_INT32 width);
+ TQ_INT32* make_curve(double sigma, TQ_INT32 *length);
+ void run_length_encode (TQ_UINT8 *src, TQ_INT32 *dest, TQ_INT32 bytes, TQ_INT32 width);
+ void multiply_alpha (TQ_UINT8 *buf, TQ_INT32 width, TQ_INT32 bytes);
+ void separate_alpha (TQ_UINT8 *buf, TQ_INT32 width, TQ_INT32 bytes);
private:
KisView * m_view;