diff options
Diffstat (limited to 'kpresenter/KPrRectObject.h')
-rw-r--r-- | kpresenter/KPrRectObject.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpresenter/KPrRectObject.h b/kpresenter/KPrRectObject.h index e803a133..518ef671 100644 --- a/kpresenter/KPrRectObject.h +++ b/kpresenter/KPrRectObject.h @@ -33,8 +33,8 @@ class KPrRectObject : public KPr2DObject { public: KPrRectObject(); - KPrRectObject( const KoPen &_pen, const QBrush &_brush, FillType _fillType, - const QColor &_gColor1, const QColor &_gColor2, + KPrRectObject( const KoPen &_pen, const TQBrush &_brush, FillType _fillType, + const TQColor &_gColor1, const TQColor &_gColor2, BCType _gType, int _xRnd, int _yRnd, bool _unbalanced, int _xfactor, int _yfactor ); virtual ~KPrRectObject() {} @@ -47,20 +47,20 @@ public: virtual ObjType getType() const { return OT_RECT; } - virtual QString getTypeString() const + virtual TQString getTypeString() const { return i18n("Rectangle"); } virtual void getRnds( int &_xRnd, int &_yRnd ) const { _xRnd = xRnd; _yRnd = yRnd; } - virtual QDomDocumentFragment save( QDomDocument& doc, double offset ); - virtual double load(const QDomElement &element); - virtual void loadOasis(const QDomElement &element, KoOasisContext &context, KPrLoadingInfo *info); + virtual TQDomDocumentFragment save( TQDomDocument& doc, double offset ); + virtual double load(const TQDomElement &element); + virtual void loadOasis(const TQDomElement &element, KoOasisContext &context, KPrLoadingInfo *info); 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 ); int xRnd, yRnd; @@ -69,7 +69,7 @@ private: Returns a bounding region for a rounded-corners rectangle. Useful for setting further clipping (e.g. to draw a pixmap on such a rectangle). */ - QPointArray boundingRegion( int x, int y, int w, int h, int _xRnd, int _yRnd) const; + TQPointArray boundingRegion( int x, int y, int w, int h, int _xRnd, int _yRnd) const; }; #endif |