diff options
Diffstat (limited to 'src/kernel/qmovie.cpp')
-rw-r--r-- | src/kernel/qmovie.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/kernel/qmovie.cpp b/src/kernel/qmovie.cpp index cccfff435..d52f662a7 100644 --- a/src/kernel/qmovie.cpp +++ b/src/kernel/qmovie.cpp @@ -52,10 +52,6 @@ #ifndef TQT_NO_MOVIE -#ifdef TQ_WS_QWS -#include "qgfx_qws.h" -#endif - #include "ntqasyncio.h" #include "ntqasyncimageio.h" @@ -396,28 +392,6 @@ void TQMoviePrivate::updatePixmapFromImage(const TQPoint& off, copyBlt( &mypixmap, area.left(), area.top(), &lines, off.x(), off.y(), area.width(), area.height() ); } - -#ifdef TQ_WS_QWS - if(display_widget) { - TQGfx * mygfx=display_widget->graphicsContext(); - if(mygfx) { - double xscale,yscale; - xscale=display_widget->width(); - yscale=display_widget->height(); - xscale=xscale/((double)mypixmap.width()); - yscale=yscale/((double)mypixmap.height()); - double xh,yh; - xh=xscale*((double)area.left()); - yh=yscale*((double)area.top()); - mygfx->setSource(&mypixmap); - mygfx->setAlphaType(TQGfx::IgnoreAlpha); - mygfx->stretchBlt(0,0,display_widget->width(), - display_widget->height(),mypixmap.width(), - mypixmap.height()); - delete mygfx; - } - } -#endif } void TQMoviePrivate::showChanges() @@ -679,16 +653,6 @@ void TQMovie::pushData(const uchar* data, int length) d->receive(data,length); } -#ifdef TQ_WS_QWS // ##### Temporary performance experiment -/*! - \internal -*/ -void TQMovie::setDisplayWidget(TQWidget * w) -{ - d->display_widget=w; -} -#endif - /*! Constructs a TQMovie that reads an image sequence from the given data source, \a src. The source must be allocated dynamically, |