diff options
Diffstat (limited to 'karbon/core/vcomposite.h')
-rw-r--r-- | karbon/core/vcomposite.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/karbon/core/vcomposite.h b/karbon/core/vcomposite.h index e786294b..bcac57dd 100644 --- a/karbon/core/vcomposite.h +++ b/karbon/core/vcomposite.h @@ -21,7 +21,7 @@ #define __VCOMPOSITE_H__ -#include <qptrlist.h> +#include <tqptrlist.h> #include <KoPoint.h> @@ -30,14 +30,14 @@ #include "vfillrule.h" #include <koffice_export.h> -class QDomElement; +class TQDomElement; class VPainter; class VSegment; class VVisitor; class VSubpath; -typedef QPtrList<VSubpath> VSubpathList; -typedef QPtrListIterator<VSubpath> VSubpathListIterator; +typedef TQPtrList<VSubpath> VSubpathList; +typedef TQPtrListIterator<VSubpath> VSubpathListIterator; /** @@ -47,7 +47,7 @@ typedef QPtrListIterator<VSubpath> VSubpathListIterator; class KARBONBASE_EXPORT VPath : public VObject, SVGPathParser { public: - VPath( VObject* parent, VState state = normal ); + VPath( VObject* tqparent, VState state = normal ); VPath( const VPath& path ); virtual ~VPath(); @@ -187,36 +187,36 @@ public: } - virtual void save( QDomElement& element ) const; + virtual void save( TQDomElement& element ) const; virtual void saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyles, int &index ) const; - virtual void load( const QDomElement& element ); - virtual bool loadOasis( const QDomElement &element, KoOasisLoadingContext &context ); + virtual void load( const TQDomElement& element ); + virtual bool loadOasis( const TQDomElement &element, KoOasisLoadingContext &context ); virtual VPath* clone() const; virtual void accept( VVisitor& visitor ); - void transform( const QString &transform ); - void transformOasis( const QString &transform ); + void transform( const TQString &transform ); + void transformOasis( const TQString &transform ); - static QWMatrix parseTransform( const QString &transform ); + static TQWMatrix parseTransform( const TQString &transform ); - void transform( const QWMatrix &mat ) + void transform( const TQWMatrix &mat ) { m_matrix *= mat; } - void loadSvgPath( const QString & ); - void saveSvgPath( QString & ) const; + void loadSvgPath( const TQString & ); + void saveSvgPath( TQString & ) const; protected: - QString buildSvgTransform() const; - QString buildSvgTransform( const QWMatrix &mat ) const; - QString buildOasisTransform() const; - QString buildOasisTransform( const QWMatrix &mat ) const; + TQString buildSvgTransform() const; + TQString buildSvgTransform( const TQWMatrix &mat ) const; + TQString buildOasisTransform() const; + TQString buildOasisTransform( const TQWMatrix &mat ) const; - void transformByViewbox( const QDomElement &element, QString viewbox ); + void transformByViewbox( const TQDomElement &element, TQString viewbox ); /// For svg path data parsing. virtual void svgMoveTo( double x1, double y1, bool abs = true ); @@ -225,10 +225,10 @@ protected: virtual void svgClosePath(); virtual void saveOasisFill( KoGenStyles &mainStyles, KoGenStyle &stylesojectauto ) const; - QWMatrix parseOasisTransform( const QString &transform ); + TQWMatrix parseOasisTransform( const TQString &transform ); protected: - QWMatrix m_matrix; + TQWMatrix m_matrix; private: /** |