diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/bindings/painter_imp.h | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/bindings/painter_imp.h')
-rw-r--r-- | kjsembed/bindings/painter_imp.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kjsembed/bindings/painter_imp.h b/kjsembed/bindings/painter_imp.h index 0f99a777..f831b7fd 100644 --- a/kjsembed/bindings/painter_imp.h +++ b/kjsembed/bindings/painter_imp.h @@ -27,7 +27,7 @@ #include <tqpen.h> #include <tqpainter.h> -class TTQPixmap; +class TQPixmap; namespace KJSEmbed { namespace Bindings { @@ -46,22 +46,22 @@ class PainterRef PainterRef(); ~PainterRef(); - TTQPainter *painter(); + TQPainter *painter(); - TTQPaintDevice *device(); - void setDevice(TTQPaintDevice *d); + TQPaintDevice *device(); + void setDevice(TQPaintDevice *d); void setCanDelete(bool can ) {m_canDelete = can;} bool canDelete() const { return m_canDelete;} private: - TTQPainter *m_painter; - TTQPaintDevice *m_device; + TQPainter *m_painter; + TQPaintDevice *m_device; bool m_canDelete; }; /** - * JSProxyImp binding for painting on a TTQPixmap. + * JSProxyImp binding for painting on a TQPixmap. * * @author Richard Moore, rich@kde.org */ @@ -84,12 +84,12 @@ public: private: bool begin(); - bool begin(TTQPaintDevice *dev); + bool begin(TQPaintDevice *dev); bool end(); - TTQPixmap pixmap() const; - void setPen( const TTQPen& pn); - TTQPen pen() const; - TTQRect textBox(const TTQString &text); + TQPixmap pixmap() const; + void setPen( const TQPen& pn); + TQPen pen() const; + TQRect textBox(const TQString &text); void moveTo( int x, int y ); void lineTo( int x, int y ); void drawPoint( int x, int y ); @@ -97,22 +97,22 @@ private: void drawRect( int x, int y, int w, int h ); void drawRoundRect( int x, int y, int w, int h, int, int); void drawEllipse( int x, int y, int w, int h ); - void drawText( int x, int y, const TTQString &txt ); + void drawText( int x, int y, const TQString &txt ); void drawArc( int x, int y, int w, int h, int a, int alen ); void drawPie( int x, int y, int w, int h, int a, int alen ); - void drawPixmap ( int x, int y, const TTQPixmap &pixmap, int sx, int sy, int sw, int sh ); - void drawImage ( int x, int y, const TTQImage &image, int sx, int sy, int sw, int sh, int conversionFlags ); - void drawTiledPixmap ( int x, int y, int w, int h, const TTQPixmap &pixmap, int sx, int sy); + void drawPixmap ( int x, int y, const TQPixmap &pixmap, int sx, int sy, int sw, int sh ); + void drawImage ( int x, int y, const TQImage &image, int sx, int sy, int sw, int sh, int conversionFlags ); + void drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap &pixmap, int sx, int sy); void scale ( double sx, double sy ); void shear ( double sh, double sv ); void rotate ( double a ); void translate ( double dx, double dy ); - void setFont( const TTQFont &font); - TTQFont font() const; - void setBrush( const TTQColor &brush ); - TTQColor brush() const; - TTQColor backgroundColor() const; - void setBackgroundColor(const TTQColor &color); + void setFont( const TQFont &font); + TQFont font() const; + void setBrush( const TQColor &brush ); + TQColor brush() const; + TQColor backgroundColor() const; + void setBackgroundColor(const TQColor &color); private: int mid; |