summaryrefslogtreecommitdiffstats
path: root/karbon/core/vstroke.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/core/vstroke.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'karbon/core/vstroke.h')
-rw-r--r--karbon/core/vstroke.h18
1 files changed, 9 insertions, 9 deletions
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 <qvaluelist.h>
+#include <tqvaluelist.h>
#include "vcolor.h"
#include "vdashpattern.h"
@@ -29,7 +29,7 @@
#include "vpattern.h"
#include <koffice_export.h>
-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;