diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-25 12:25:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-25 12:25:06 +0900 |
commit | a09a6bc05e3f64c27e7c84dd768c7720fdf41136 (patch) | |
tree | fe5a644a42056c012132e5bbc57f3ce1ba40d5c2 /examples/canvas | |
parent | bba3e1fa3870a23f1cf0b5d1143ffd646ac797a4 (diff) | |
download | tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.tar.gz tqt3-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.zip |
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/canvas')
-rw-r--r-- | examples/canvas/canvas.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 3222c8a45..49a18db41 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -55,21 +55,13 @@ ImageItem::ImageItem( TQImage img, TQCanvas *canvas ) { setSize( image.width(), image.height() ); -#if !defined(TQ_WS_QWS) pixmap.convertFromImage(image, OrderedAlphaDither); -#endif } void ImageItem::drawShape( TQPainter &p ) { -// On TQt/Embedded, we can paint a TQImage as fast as a TQPixmap, -// but on other platforms, we need to use a TQPixmap. -#if defined(TQ_WS_QWS) - p.drawImage( int(x()), int(y()), image, 0, 0, -1, -1, OrderedAlphaDither ); -#else p.drawPixmap( int(x()), int(y()), pixmap ); -#endif } bool ImageItem::hit( const TQPoint &p ) const |