summaryrefslogtreecommitdiffstats
path: root/karbon/render/vpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/render/vpainter.h')
-rw-r--r--karbon/render/vpainter.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/karbon/render/vpainter.h b/karbon/render/vpainter.h
index b638ddcc..84ad9d13 100644
--- a/karbon/render/vpainter.h
+++ b/karbon/render/vpainter.h
@@ -24,16 +24,16 @@
// painter abstraction
-#include <qnamespace.h>
+#include <tqnamespace.h>
#include <KoRect.h>
#include <vfillrule.h>
-class QWMatrix;
-class QPaintDevice;
-class QColor;
-class QPen;
-class QBrush;
-class QImage;
+class TQWMatrix;
+class TQPaintDevice;
+class TQColor;
+class TQPen;
+class TQBrush;
+class TQImage;
class VStroke;
class VFill;
@@ -44,7 +44,7 @@ class KoRect;
class VPainter
{
public:
- VPainter( QPaintDevice *, unsigned int /*w*/ = 0, unsigned int /*h*/ = 0 ) {};
+ VPainter( TQPaintDevice *, unsigned int /*w*/ = 0, unsigned int /*h*/ = 0 ) {};
virtual ~VPainter() {};
//
@@ -52,12 +52,12 @@ public:
virtual void begin() = 0;
virtual void end() = 0;
virtual void blit( const KoRect & ) = 0;
- virtual void clear( const QColor & ) = 0;
- virtual void clear( const KoRect &, const QColor & ) = 0;
+ virtual void clear( const TQColor & ) = 0;
+ virtual void clear( const KoRect &, const TQColor & ) = 0;
// matrix manipulation
- virtual void setWorldMatrix( const QWMatrix & ) = 0;
- virtual const QWMatrix worldMatrix() = 0;
+ virtual void setWorldMatrix( const TQWMatrix & ) = 0;
+ virtual const TQWMatrix tqworldMatrix() = 0;
virtual void setZoomFactor( double ) = 0;
virtual double zoomFactor() { return 1.0; }
@@ -80,23 +80,23 @@ public:
// pen + brush
virtual void setPen( const VStroke & ) = 0;
// compatibility, use VPen/VBrush later ?
- virtual void setPen( const QColor & ) = 0;
+ virtual void setPen( const TQColor & ) = 0;
virtual void setPen( Qt::PenStyle style ) = 0;
virtual void setBrush( const VFill & ) = 0;
- virtual void setBrush( const QColor & ) = 0;
- virtual void setBrush( Qt::BrushStyle style ) = 0;
+ virtual void setBrush( const TQColor & ) = 0;
+ virtual void setBrush( TQt::BrushStyle style ) = 0;
- virtual void drawImage( const QImage &, const QWMatrix & ) {}
+ virtual void drawImage( const TQImage &, const TQWMatrix & ) {}
// stack management
virtual void save() = 0;
virtual void restore() = 0;
// we have to see how this fits in
- virtual void setRasterOp( Qt::RasterOp ) = 0;
+ virtual void setRasterOp( TQt::RasterOp ) = 0;
// access to device
- virtual QPaintDevice *device() = 0;
+ virtual TQPaintDevice *device() = 0;
};
#endif