summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrAutoformObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrAutoformObject.h')
-rw-r--r--kpresenter/KPrAutoformObject.h20
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;
};