From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- karbon/core/vstroke.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'karbon/core/vstroke.h') diff --git a/karbon/core/vstroke.h b/karbon/core/vstroke.h index 6cfa338d..90eedc43 100644 --- a/karbon/core/vstroke.h +++ b/karbon/core/vstroke.h @@ -21,7 +21,7 @@ #ifndef __VSTROKE_H__ #define __VSTROKE_H__ -#include +#include #include "vcolor.h" #include "vdashpattern.h" @@ -29,7 +29,7 @@ #include "vpattern.h" #include -class QDomElement; +class TQDomElement; class VObject; class KoGenStyle; class KoStyleStack; @@ -72,14 +72,14 @@ public: }; VStroke(); - VStroke( VObject* parent, float width = 1.0, const VLineCap cap = capButt, + VStroke( VObject* tqparent, float width = 1.0, const VLineCap cap = capButt, const VLineJoin join = joinMiter, float miterLimit = 10.0 ); - VStroke( const VColor &c, VObject* parent = 0L, float width = 1.0, const VLineCap cap = capButt, + VStroke( const VColor &c, VObject* tqparent = 0L, float width = 1.0, const VLineCap cap = capButt, const VLineJoin join = joinMiter, float miterLimit = 10.0 ); VStroke( const VStroke& stroke ); - void setParent( VObject* parent ) { m_parent = parent; } - VObject* parent()const { return m_parent; } + void setParent( VObject* tqparent ) { m_parent = tqparent; } + VObject* tqparent()const { return m_parent; } VStrokeType type() const { return m_type; } void setType( VStrokeType type ) { m_type = type; } @@ -108,15 +108,15 @@ public: VDashPattern& dashPattern() { return m_dashPattern; } const VDashPattern& dashPattern() const { return m_dashPattern; } - void save( QDomElement& element ) const; + void save( TQDomElement& element ) const; void saveOasis( KoGenStyle &style ) const; - void load( const QDomElement& element ); + void load( const TQDomElement& element ); void loadOasis( const KoStyleStack &stack ); VStroke& operator=( const VStroke& stroke ); - void transform( const QWMatrix& m ); + void transform( const TQWMatrix& m ); private: VObject *m_parent; -- cgit v1.2.1