summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrRectObject.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 /kpresenter/KPrRectObject.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 'kpresenter/KPrRectObject.h')
-rw-r--r--kpresenter/KPrRectObject.h16
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