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 /kpresenter/KPrAutoformObject.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 'kpresenter/KPrAutoformObject.h')
-rw-r--r-- | kpresenter/KPrAutoformObject.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/KPrAutoformObject.h b/kpresenter/KPrAutoformObject.h index 9963769d..f7de60cb 100644 --- a/kpresenter/KPrAutoformObject.h +++ b/kpresenter/KPrAutoformObject.h @@ -22,7 +22,7 @@ #ifndef kpautoformobject_h #define kpautoformobject_h -#include <qpixmap.h> +#include <tqpixmap.h> #include <KoBrush.h> #include "KPrObject.h" @@ -36,8 +36,8 @@ class KPrAutoformObject : public KPr2DObject, public KPrStartEndLine { public: KPrAutoformObject(); - KPrAutoformObject( const KoPen & _pen, const QBrush &_brush, const QString &_filename, LineEnd _lineBegin, LineEnd _lineEnd, - FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType, + KPrAutoformObject( const KoPen & _pen, const TQBrush &_brush, const TQString &_filename, LineEnd _lineBegin, LineEnd _lineEnd, + FillType _fillType, const TQColor &_gColor1, const TQColor &_gColor2, BCType _gType, bool _unbalanced, int _xfactor, int _yfactor); virtual ~KPrAutoformObject() {} @@ -45,7 +45,7 @@ public: virtual DCOPObject* dcopObject(); - virtual void setFileName( const QString &_filename ); + virtual void setFileName( const TQString &_filename ); virtual void setLineBegin( LineEnd _lineBegin ) { lineBegin = _lineBegin; } virtual void setLineEnd( LineEnd _lineEnd ) @@ -53,28 +53,28 @@ public: virtual ObjType getType() const { return OT_AUTOFORM; } - virtual QString getTypeString() const + virtual TQString getTypeString() const { return i18n("Autoform"); } - QString getFileName() const + TQString getFileName() const { return filename; } virtual LineEnd getLineBegin() const { return lineBegin; } virtual LineEnd getLineEnd() const { return lineEnd; } - virtual QDomDocumentFragment save( QDomDocument& doc,double offset ); + virtual TQDomDocumentFragment save( TQDomDocument& doc,double offset ); - virtual double load(const QDomElement &element); + virtual double load(const TQDomElement &element); protected: virtual const char * getOasisElementName() const; virtual bool saveOasisObjectAttributes( KPOasisSaveContext &sc ) const; virtual void fillStyle( KoGenStyle& styleObjectAuto, KoGenStyles& mainStyles ) const; - virtual void paint( QPainter *_painter, KoTextZoomHandler *_zoomHandler, + virtual void paint( TQPainter *_painter, KoTextZoomHandler *_zoomHandler, int /* pageNum */, bool drawingShadow, bool drawContour = FALSE ); - QString filename; + TQString filename; ATFInterpreter atfInterp; }; |