diff options
Diffstat (limited to 'kdirstat/kpacman.cpp')
-rw-r--r-- | kdirstat/kpacman.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdirstat/kpacman.cpp b/kdirstat/kpacman.cpp index 22c5176..e973e3e 100644 --- a/kdirstat/kpacman.cpp +++ b/kdirstat/kpacman.cpp @@ -163,7 +163,7 @@ KPacManAnimation::animate( TQPainter * painter, // Transfer pixmap into widget #if 0 - TQPoint offset = painter->tqworldMatrix().map( _pacManRect.topLeft() ); + TQPoint offset = painter->worldMatrix().map( _pacManRect.topLeft() ); // kdDebug() << "bitBlt() to " << offset.x() << ", " << offset.y() << endl; bitBlt( _widget, offset, &pixmap ); #endif @@ -254,14 +254,14 @@ KPacMan::stop() if ( _timer ) _timer->stop(); - tqrepaint(); + repaint(); } void KPacMan::animate() { - tqrepaint( false ); + repaint( false ); } @@ -300,7 +300,7 @@ KPacMan::mouseReleaseEvent ( TQMouseEvent *ev ) TQSize -KPacMan::tqsizeHint() const +KPacMan::sizeHint() const { return TQSize( 16 * _pacManSize, // width - admittedly somewhat random _pacManSize + 2 * _margin ); // height |