diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /ksvg/impl/SVGMaskElementImpl.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/impl/SVGMaskElementImpl.h')
-rw-r--r-- | ksvg/impl/SVGMaskElementImpl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksvg/impl/SVGMaskElementImpl.h b/ksvg/impl/SVGMaskElementImpl.h index cdd1c125..2a96967c 100644 --- a/ksvg/impl/SVGMaskElementImpl.h +++ b/ksvg/impl/SVGMaskElementImpl.h @@ -21,7 +21,7 @@ #ifndef SVGMaskElementImpl_H #define SVGMaskElementImpl_H -#include <qwmatrix.h> +#include <tqwmatrix.h> #include "SVGTestsImpl.h" #include "SVGBBoxTarget.h" @@ -56,20 +56,20 @@ public: { public: Mask() : m_width(0), m_height(0) {} - Mask(const QByteArray& mask, const QWMatrix& screenToMask, int width, int height); + Mask(const TQByteArray& mask, const TQWMatrix& screenToMask, int width, int height); ~Mask() {} bool isEmpty() const { return m_width == 0; } unsigned char value(int screenX, int screenY) const; - QByteArray rectangle(int screenX, int screenY, int width, int height); - QByteArray rectangle(const QRect& rect); - void setScreenToMask(const QWMatrix& matrix) { m_screenToMask = matrix; } + TQByteArray rectangle(int screenX, int screenY, int width, int height); + TQByteArray rectangle(const TQRect& rect); + void setScreenToMask(const TQWMatrix& matrix) { m_screenToMask = matrix; } private: int m_width; int m_height; - QByteArray m_mask; - QWMatrix m_screenToMask; + TQByteArray m_mask; + TQWMatrix m_screenToMask; }; SVGMaskElementImpl(DOM::ElementImpl *); @@ -92,7 +92,7 @@ public: // Compute the mask on a given shape, taking into account all masks defined // on the shape's ancestors. This is a workaround for us not having a buffer // for container elements, so we can't mask containers directly. - static QByteArray maskRectangle(SVGShapeImpl *shape, const QRect& screenRectangle); + static TQByteArray maskRectangle(SVGShapeImpl *shape, const TQRect& screenRectangle); private: class CacheKey |