diff options
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_painter.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_painter.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_painter.h b/kivio/kiviopart/kiviosdk/kivio_painter.h index 6e0869fd..4cea0a16 100644 --- a/kivio/kiviopart/kiviosdk/kivio_painter.h +++ b/kivio/kiviopart/kiviosdk/kivio_painter.h @@ -19,12 +19,12 @@ #ifndef KIVIO_PAINTER_H #define KIVIO_PAINTER_H -#include <qfont.h> -#include <qptrlist.h> -#include <qpaintdevice.h> -#include <qpixmap.h> -#include <qpointarray.h> -#include <qwmatrix.h> +#include <tqfont.h> +#include <tqptrlist.h> +#include <tqpaintdevice.h> +#include <tqpixmap.h> +#include <tqpointarray.h> +#include <tqwmatrix.h> #include "kivio_fill_style.h" @@ -38,13 +38,13 @@ protected: KivioFillStyle *m_pFillStyle; KivioLineStyle *m_pLineStyle; - QColor m_textColor; + TQColor m_textColor; public: KivioPainter(); virtual ~KivioPainter(); - virtual bool start( QPaintDevice * ) { return false;} + virtual bool start( TQPaintDevice * ) { return false;} virtual bool stop() { return false;} @@ -58,17 +58,17 @@ public: virtual float lineWidth() const; virtual void setLineWidth( const float &f ); - // virtual void setClipRect( QRect * ); - // virtual QRect *clipRect(); + // virtual void setClipRect( TQRect * ); + // virtual TQRect *clipRect(); - virtual QColor fgColor() const; - virtual void setFGColor( const QColor &c ); + virtual TQColor fgColor() const; + virtual void setFGColor( const TQColor &c ); - virtual QColor bgColor() const { return m_pFillStyle->color(); } - virtual void setBGColor( const QColor &c ) { m_pFillStyle->setColor(c); } + virtual TQColor bgColor() const { return m_pFillStyle->color(); } + virtual void setBGColor( const TQColor &c ) { m_pFillStyle->setColor(c); } - virtual QColor textColor() const { return m_textColor; } - virtual void setTextColor( const QColor &c ) { m_textColor = c; } + virtual TQColor textColor() const { return m_textColor; } + virtual void setTextColor( const TQColor &c ) { m_textColor = c; } virtual KivioFillStyle *fillStyle() { return m_pFillStyle; } @@ -85,8 +85,8 @@ public: virtual void drawLine( float, float, float, float ) {;} virtual void drawArc( float, float, float, float, float, float ) {;} - virtual void drawBezier( QPtrList<KivioPoint> * ) {;} - virtual void drawBezier( QPointArray & ) {;} + virtual void drawBezier( TQPtrList<KivioPoint> * ) {;} + virtual void drawBezier( TQPointArray & ) {;} virtual void drawRect( float, float, float, float ) {;} virtual void fillRect( float, float, float, float ) {;} @@ -103,24 +103,24 @@ public: virtual void drawChord( float, float, float, float, float, float ) {;} virtual void fillChord( float, float, float, float, float, float ) {;} - virtual void drawOpenPath( QPtrList<KivioPoint> * ) {;} - virtual void drawClosedPath( QPtrList<KivioPoint> * ) {;} + virtual void drawOpenPath( TQPtrList<KivioPoint> * ) {;} + virtual void drawClosedPath( TQPtrList<KivioPoint> * ) {;} - virtual void drawLineArray( QPtrList<KivioPoint> * ) {;} - virtual void drawPolyline( QPtrList<KivioPoint> * ) {;} - virtual void drawPolygon( QPtrList<KivioPoint> * ) {;} + virtual void drawLineArray( TQPtrList<KivioPoint> * ) {;} + virtual void drawPolyline( TQPtrList<KivioPoint> * ) {;} + virtual void drawPolygon( TQPtrList<KivioPoint> * ) {;} - virtual void drawLineArray( QPointArray & ) {;} - virtual void drawPolyline( QPointArray & ) {;} - virtual void drawPolygon( QPointArray & ) {;} + virtual void drawLineArray( TQPointArray & ) {;} + virtual void drawPolyline( TQPointArray & ) {;} + virtual void drawPolygon( TQPointArray & ) {;} - virtual void setFont( const QFont & ) {;} - virtual void drawText( int, int, int, int, int, const QString & ) {;} - virtual QRect boundingRect( int, int, int, int, int, const QString & ) { return QRect(0,0,100,100); } + virtual void setFont( const TQFont & ) {;} + virtual void drawText( int, int, int, int, int, const TQString & ) {;} + virtual TQRect boundingRect( int, int, int, int, int, const TQString & ) { return TQRect(0,0,100,100); } // These shouldn't be used for anything except the screen painter right now... - virtual void drawPixmap( float, float, const QPixmap & ) {;} + virtual void drawPixmap( float, float, const TQPixmap & ) {;} /*\ |*| Miscellaneous Functions @@ -135,7 +135,7 @@ public: cpfLock=0x10 }; virtual void drawHandle( float, float, int ) { ; } - virtual void drawSelectionBox( const QRect& ) { ; } + virtual void drawSelectionBox( const TQRect& ) { ; } virtual void saveState() {;} virtual void restoreState() {;} @@ -145,7 +145,7 @@ public: virtual void rotateBy(int) {;} virtual int rotation() { return 0; } - virtual void setWorldMatrix(QWMatrix, bool) {;} + virtual void setWorldMatrix(TQWMatrix, bool) {;} }; #endif |