summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPolygonObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPolygonObject.h')
-rw-r--r--kpresenter/KPrPolygonObject.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpresenter/KPrPolygonObject.h b/kpresenter/KPrPolygonObject.h
index a7506ca8..7ef997ed 100644
--- a/kpresenter/KPrPolygonObject.h
+++ b/kpresenter/KPrPolygonObject.h
@@ -22,12 +22,12 @@
#ifndef kppolygonobject_h
#define kppolygonobject_h
-#include <qpointarray.h>
+#include <tqpointarray.h>
#include "KoPointArray.h"
#include "KPrObject.h"
class KPrGradient;
-class QPainter;
+class TQPainter;
class DCOPObject;
class KoPen;
@@ -35,8 +35,8 @@ class KPrPolygonObject : public KPr2DObject
{
public:
KPrPolygonObject();
- KPrPolygonObject( const KoPointArray &_points, const KoSize &_size, const KoPen &_pen, const QBrush &_brush,
- FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType,
+ KPrPolygonObject( const KoPointArray &_points, const KoSize &_size, const KoPen &_pen, const TQBrush &_brush,
+ FillType _fillType, const TQColor &_gColor1, const TQColor &_gColor2, BCType _gType,
bool _unbalanced, int _xfactor, int _yfactor,
bool _checkConcavePolygon, int _cornersValue, int _sharpnessValue );
@@ -50,7 +50,7 @@ public:
{ setSize( _size.width(), _size.height() ); }
virtual ObjType getType() const { return OT_POLYGON; }
- virtual QString getTypeString() const { return i18n( "Polygon" ); }
+ virtual TQString getTypeString() const { return i18n( "Polygon" ); }
void setCheckConcavePolygon(bool _concavePolygon) { checkConcavePolygon = _concavePolygon; drawPolygon(); }
void setCornersValue(int _cornersValue) { cornersValue = _cornersValue; drawPolygon(); }
@@ -59,10 +59,10 @@ public:
int getCornersValue() const { return cornersValue; }
int getSharpnessValue() const { return sharpnessValue; }
- virtual QDomDocumentFragment save( QDomDocument& doc, double offset );
+ virtual TQDomDocumentFragment save( TQDomDocument& doc, double offset );
- virtual double load( const QDomElement &element );
- virtual void loadOasis( const QDomElement &element, KoOasisContext & context, KPrLoadingInfo *info );
+ virtual double load( const TQDomElement &element );
+ virtual void loadOasis( const TQDomElement &element, KoOasisContext & context, KPrLoadingInfo *info );
virtual void flip( bool horizontal );
virtual KoSize getRealSize() const;
@@ -72,7 +72,7 @@ protected:
virtual const char * getOasisElementName() const;
virtual bool saveOasisObjectAttributes( KPOasisSaveContext &sc ) const;
- virtual void paint( QPainter *_painter,KoTextZoomHandler*_zoomHandler,
+ virtual void paint( TQPainter *_painter,KoTextZoomHandler*_zoomHandler,
int /* pageNum */, bool drawingShadow, bool drawContour );
void updatePoints( double _fx, double _fy );