summaryrefslogtreecommitdiffstats
path: root/karbon/shapes
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/shapes')
-rw-r--r--karbon/shapes/vellipse.cc6
-rw-r--r--karbon/shapes/vellipse.h4
-rw-r--r--karbon/shapes/vpolygon.cc8
-rw-r--r--karbon/shapes/vpolygon.h4
-rw-r--r--karbon/shapes/vpolyline.cc12
-rw-r--r--karbon/shapes/vpolyline.h6
-rw-r--r--karbon/shapes/vrectangle.cc8
-rw-r--r--karbon/shapes/vrectangle.h4
-rw-r--r--karbon/shapes/vsinus.cc8
-rw-r--r--karbon/shapes/vsinus.h4
-rw-r--r--karbon/shapes/vspiral.cc8
-rw-r--r--karbon/shapes/vspiral.h4
-rw-r--r--karbon/shapes/vstar.cc8
-rw-r--r--karbon/shapes/vstar.h4
14 files changed, 44 insertions, 44 deletions
diff --git a/karbon/shapes/vellipse.cc b/karbon/shapes/vellipse.cc
index 15f5ce1c..0b5fd80c 100644
--- a/karbon/shapes/vellipse.cc
+++ b/karbon/shapes/vellipse.cc
@@ -30,14 +30,14 @@
#include <tqdom.h>
#include <core/vfill.h>
-VEllipse::VEllipse( VObject* tqparent, VState state ) : VPath( tqparent, state )
+VEllipse::VEllipse( VObject* parent, VState state ) : VPath( parent, state )
{
}
-VEllipse::VEllipse( VObject* tqparent,
+VEllipse::VEllipse( VObject* parent,
const KoPoint& topLeft, double width, double height,
VEllipseType type, double startAngle, double endAngle )
- : VPath( tqparent ), m_type( type ), m_startAngle( startAngle ), m_endAngle( endAngle )
+ : VPath( parent ), m_type( type ), m_startAngle( startAngle ), m_endAngle( endAngle )
{
setDrawCenterNode();
diff --git a/karbon/shapes/vellipse.h b/karbon/shapes/vellipse.h
index 98f0ec11..5a2346d5 100644
--- a/karbon/shapes/vellipse.h
+++ b/karbon/shapes/vellipse.h
@@ -33,8 +33,8 @@ public:
cut,
arc
};
- VEllipse( VObject* tqparent, VState state = edit );
- VEllipse( VObject* tqparent,
+ VEllipse( VObject* parent, VState state = edit );
+ VEllipse( VObject* parent,
const KoPoint& topLeft, double width, double height,
VEllipseType type = full, double startAngle = 0, double endAngle = 0 );
diff --git a/karbon/shapes/vpolygon.cc b/karbon/shapes/vpolygon.cc
index 47f07a68..650b4698 100644
--- a/karbon/shapes/vpolygon.cc
+++ b/karbon/shapes/vpolygon.cc
@@ -30,14 +30,14 @@
#include <KoXmlNS.h>
#include <vdocument.h>
-VPolygon::VPolygon( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VPolygon::VPolygon( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-VPolygon::VPolygon( VObject* tqparent, const TQString &points,
+VPolygon::VPolygon( VObject* parent, const TQString &points,
const KoPoint& topLeft, double width, double height )
- : VPath( tqparent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_points( points )
+ : VPath( parent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_points( points )
{
init();
}
diff --git a/karbon/shapes/vpolygon.h b/karbon/shapes/vpolygon.h
index fcb30850..a483a37a 100644
--- a/karbon/shapes/vpolygon.h
+++ b/karbon/shapes/vpolygon.h
@@ -25,8 +25,8 @@
class VPolygon : public VPath
{
public:
- VPolygon( VObject* tqparent, VState state = edit );
- VPolygon( VObject* tqparent, const TQString &points,
+ VPolygon( VObject* parent, VState state = edit );
+ VPolygon( VObject* parent, const TQString &points,
const KoPoint& topLeft, double width, double height );
virtual TQString name() const;
diff --git a/karbon/shapes/vpolyline.cc b/karbon/shapes/vpolyline.cc
index 85faa0f7..d716c325 100644
--- a/karbon/shapes/vpolyline.cc
+++ b/karbon/shapes/vpolyline.cc
@@ -30,18 +30,18 @@
#include <KoXmlWriter.h>
#include <KoXmlNS.h>
-VPolyline::VPolyline( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VPolyline::VPolyline( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-/*VPolyline::VPolyline( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+/*VPolyline::VPolyline( VObject* parent, VState state )
+ : VPath( parent, state )
{
}*/
-/*VPolyline::VPolyline( VObject* tqparent, const TQString &points )
- : VPath( tqparent ), m_points( points )
+/*VPolyline::VPolyline( VObject* parent, const TQString &points )
+ : VPath( parent ), m_points( points )
{
init();
}*/
diff --git a/karbon/shapes/vpolyline.h b/karbon/shapes/vpolyline.h
index cc08c87b..ad746c3e 100644
--- a/karbon/shapes/vpolyline.h
+++ b/karbon/shapes/vpolyline.h
@@ -26,9 +26,9 @@
class VPolyline : public VPath
{
public:
- VPolyline( VObject* tqparent, VState state = edit );
- //VPolyline( VObject* tqparent, VState state = edit );
- //VPolyline( VObject* tqparent, const TQString &points );
+ VPolyline( VObject* parent, VState state = edit );
+ //VPolyline( VObject* parent, VState state = edit );
+ //VPolyline( VObject* parent, const TQString &points );
virtual TQString name() const;
diff --git a/karbon/shapes/vrectangle.cc b/karbon/shapes/vrectangle.cc
index 01d1d243..bb3512fd 100644
--- a/karbon/shapes/vrectangle.cc
+++ b/karbon/shapes/vrectangle.cc
@@ -30,14 +30,14 @@
#include <vdocument.h>
#include "vtransformcmd.h"
-VRectangle::VRectangle( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VRectangle::VRectangle( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-VRectangle::VRectangle( VObject* tqparent,
+VRectangle::VRectangle( VObject* parent,
const KoPoint& topLeft, double width, double height, double rx, double ry )
- : VPath( tqparent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_rx( rx ), m_ry( ry )
+ : VPath( parent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_rx( rx ), m_ry( ry )
{
setDrawCenterNode();
diff --git a/karbon/shapes/vrectangle.h b/karbon/shapes/vrectangle.h
index 08c4e085..c5604708 100644
--- a/karbon/shapes/vrectangle.h
+++ b/karbon/shapes/vrectangle.h
@@ -26,8 +26,8 @@
class KARBONBASE_EXPORT VRectangle : public VPath
{
public:
- VRectangle( VObject* tqparent, VState state = edit );
- VRectangle( VObject* tqparent,
+ VRectangle( VObject* parent, VState state = edit );
+ VRectangle( VObject* parent,
const KoPoint& topLeft, double width, double height, double rx = 0.0, double ry = 0.0 );
virtual TQString name() const;
diff --git a/karbon/shapes/vsinus.cc b/karbon/shapes/vsinus.cc
index 6c546135..362ed800 100644
--- a/karbon/shapes/vsinus.cc
+++ b/karbon/shapes/vsinus.cc
@@ -28,14 +28,14 @@
#include <tqdom.h>
#include <vdocument.h>
-VSinus::VSinus( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VSinus::VSinus( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-VSinus::VSinus( VObject* tqparent,
+VSinus::VSinus( VObject* parent,
const KoPoint& topLeft, double width, double height, uint periods )
- : VPath( tqparent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_periods( periods )
+ : VPath( parent ), m_topLeft( topLeft ), m_width( width), m_height( height ), m_periods( periods )
{
// We want at least 1 period:
if( m_periods < 1 )
diff --git a/karbon/shapes/vsinus.h b/karbon/shapes/vsinus.h
index 10b902d8..89510d0f 100644
--- a/karbon/shapes/vsinus.h
+++ b/karbon/shapes/vsinus.h
@@ -26,8 +26,8 @@
class KARBONBASE_EXPORT VSinus : public VPath
{
public:
- VSinus( VObject* tqparent, VState state = edit );
- VSinus( VObject* tqparent,
+ VSinus( VObject* parent, VState state = edit );
+ VSinus( VObject* parent,
const KoPoint& topLeft, double width, double height, uint periods );
virtual TQString name() const;
diff --git a/karbon/shapes/vspiral.cc b/karbon/shapes/vspiral.cc
index cad37ccd..0df88485 100644
--- a/karbon/shapes/vspiral.cc
+++ b/karbon/shapes/vspiral.cc
@@ -30,15 +30,15 @@
#include <KoUnit.h>
#include <vdocument.h>
-VSpiral::VSpiral( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VSpiral::VSpiral( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-VSpiral::VSpiral( VObject* tqparent,
+VSpiral::VSpiral( VObject* parent,
const KoPoint& center, double radius, uint segments, double fade,
bool clockwise, double angle, VSpiralType type )
- : VPath( tqparent ), m_center( center), m_radius( radius ), m_fade( fade ), m_segments( segments ), m_clockwise( clockwise ), m_angle( angle ), m_type( type )
+ : VPath( parent ), m_center( center), m_radius( radius ), m_fade( fade ), m_segments( segments ), m_clockwise( clockwise ), m_angle( angle ), m_type( type )
{
init();
}
diff --git a/karbon/shapes/vspiral.h b/karbon/shapes/vspiral.h
index fc99436c..9411afc2 100644
--- a/karbon/shapes/vspiral.h
+++ b/karbon/shapes/vspiral.h
@@ -31,8 +31,8 @@ public:
round,
rectangular
};
- VSpiral( VObject* tqparent, VState state = edit );
- VSpiral( VObject* tqparent,
+ VSpiral( VObject* parent, VState state = edit );
+ VSpiral( VObject* parent,
const KoPoint& center, double radius, uint segments,
double fade, bool clockwise, double angle = 0.0, VSpiralType type = round );
diff --git a/karbon/shapes/vstar.cc b/karbon/shapes/vstar.cc
index 11f8ef86..260c1664 100644
--- a/karbon/shapes/vstar.cc
+++ b/karbon/shapes/vstar.cc
@@ -30,15 +30,15 @@
#include <KoUnit.h>
#include <vdocument.h>
-VStar::VStar( VObject* tqparent, VState state )
- : VPath( tqparent, state )
+VStar::VStar( VObject* parent, VState state )
+ : VPath( parent, state )
{
}
-VStar::VStar( VObject* tqparent,
+VStar::VStar( VObject* parent,
const KoPoint& center, double outerRadius, double innerRadius,
uint edges, double angle, uint innerAngle, double roundness, VStarType type )
- : VPath( tqparent ), m_center( center), m_outerRadius( outerRadius ), m_innerRadius( innerRadius), m_edges( edges ), m_angle( angle ), m_innerAngle( innerAngle ), m_roundness( roundness ), m_type( type )
+ : VPath( parent ), m_center( center), m_outerRadius( outerRadius ), m_innerRadius( innerRadius), m_edges( edges ), m_angle( angle ), m_innerAngle( innerAngle ), m_roundness( roundness ), m_type( type )
{
init();
}
diff --git a/karbon/shapes/vstar.h b/karbon/shapes/vstar.h
index 9a4096ea..d82cdf9e 100644
--- a/karbon/shapes/vstar.h
+++ b/karbon/shapes/vstar.h
@@ -57,8 +57,8 @@ public:
star,
gear
};
- VStar( VObject* tqparent, VState state = edit );
- VStar( VObject* tqparent,
+ VStar( VObject* parent, VState state = edit );
+ VStar( VObject* parent,
const KoPoint& center, double outerRadius, double innerRadius,
uint edges, double angle = 0.0, uint innerAngle = 0,
double roundness = 0.0, VStarType type = star_outline );