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/SVGImageElementImpl.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/SVGImageElementImpl.h')
-rw-r--r-- | ksvg/impl/SVGImageElementImpl.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ksvg/impl/SVGImageElementImpl.h b/ksvg/impl/SVGImageElementImpl.h index 35ae161f..922ef3f8 100644 --- a/ksvg/impl/SVGImageElementImpl.h +++ b/ksvg/impl/SVGImageElementImpl.h @@ -21,7 +21,7 @@ #ifndef SVGImageElementImpl_H #define SVGImageElementImpl_H -#include <qobject.h> +#include <tqobject.h> #include "ksvg_lookup.h" @@ -42,7 +42,7 @@ class SVGSVGElementImpl; class SVGAnimatedLengthImpl; class SVGColorProfileElementImpl; class SVGAnimatedPreserveAspectRatioImpl; -class SVGImageElementImpl : public QObject, +class SVGImageElementImpl : public TQObject, public SVGShapeImpl, public SVGURIReferenceImpl, public SVGTestsImpl, @@ -67,12 +67,12 @@ public: virtual void setAttributes(); - virtual bool prepareMouseEvent(const QPoint &p, const QPoint &a, SVGMouseEventImpl *mev); + virtual bool prepareMouseEvent(const TQPoint &p, const TQPoint &a, SVGMouseEventImpl *mev); - void setImage(QImage *image); - QImage *image() { return m_image; } + void setImage(TQImage *image); + TQImage *image() { return m_image; } - QImage scaledImage(); + TQImage scaledImage(); SVGMatrixImpl *imageMatrix(); SVGMatrixImpl *scaledImageMatrix(); @@ -81,7 +81,7 @@ public: void applyColorProfile(); static void applyColorProfile(SVGColorProfileElementImpl *profile, SVGImageElementImpl *image); - QString fileName() const; + TQString fileName() const; virtual SVGRectImpl *getBBox(); @@ -93,7 +93,7 @@ public: void setupSVGElement(SVGSVGElementImpl *svg); private slots: - void slotParsingFinished(bool error, const QString &errorDesc); + void slotParsingFinished(bool error, const TQString &errorDesc); void slotLoadingFinished(); private: @@ -102,7 +102,7 @@ private: SVGAnimatedLengthImpl *m_width; SVGAnimatedLengthImpl *m_height; - QImage *m_image; + TQImage *m_image; bool m_colorProfileApplied; SVGAnimatedPreserveAspectRatioImpl *m_preserveAspectRatio; @@ -127,7 +127,7 @@ public: struct ImageStreamMap { - QByteArray *data; + TQByteArray *data; SVGImageElementImpl *imageElement; }; |