diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/shapes/vstar.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/shapes/vstar.h')
-rw-r--r-- | karbon/shapes/vstar.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/karbon/shapes/vstar.h b/karbon/shapes/vstar.h index 7b7ec098..9a4096ea 100644 --- a/karbon/shapes/vstar.h +++ b/karbon/shapes/vstar.h @@ -23,11 +23,11 @@ #include "vcomposite.h" #include <koffice_export.h> /** - * This shape offers star-like shapes with a lot of parameters : + * This tqshape offers star-like tqshapes with a lot of parameters : * * Types : * - * Star - fully connected star shape. + * Star - fully connected star tqshape. * Star outline - like star but without the cross connections. * Framed star - like star outline but with an enclosing path. * Spoke - basically a star outline with inner radius of zero. @@ -42,7 +42,7 @@ * Inner radius - inner radius where star has to connect to. This value * doesn't apply to polygon, spoke and wheel. * Inner angle - extra radius amount for inner radius. - * Roundness - uses curves instead of lines for the star shape. + * Roundness - uses curves instead of lines for the star tqshape. */ class KARBONBASE_EXPORT VStar : public VPath { @@ -57,19 +57,19 @@ public: star, gear }; - VStar( VObject* parent, VState state = edit ); - VStar( VObject* parent, + VStar( VObject* tqparent, VState state = edit ); + VStar( VObject* tqparent, const KoPoint& center, double outerRadius, double innerRadius, uint edges, double angle = 0.0, uint innerAngle = 0, double roundness = 0.0, VStarType type = star_outline ); static double getOptimalInnerRadius( uint edges, double outerRadius, uint innerAngle ); - virtual QString name() const; + virtual TQString name() const; - virtual void save( QDomElement& element ) const; - virtual void load( const QDomElement& element ); + virtual void save( TQDomElement& element ) const; + virtual void load( const TQDomElement& element ); virtual VPath* clone() const; |