diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:35:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:35:00 -0600 |
commit | 522c7294f06d294c77bc1ea7d0dec4b371c43373 (patch) | |
tree | 22e15f6e31eba6c17ce06d8e1b0de24ef8b8f002 /src/qeffects.cpp | |
parent | 2a411f53a04f815770074b633e026a141f6fa875 (diff) | |
download | basket-522c7294f06d294c77bc1ea7d0dec4b371c43373.tar.gz basket-522c7294f06d294c77bc1ea7d0dec4b371c43373.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/qeffects.cpp')
-rw-r--r-- | src/qeffects.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/qeffects.cpp b/src/qeffects.cpp index 7c2dd0b..28fdb83 100644 --- a/src/qeffects.cpp +++ b/src/qeffects.cpp @@ -108,7 +108,7 @@ void TQAlphaWidget::run( int time ) widget->setWState( WState_Visible ); - move( widget->tqgeometry().x(),widget->tqgeometry().y() ); + move( widget->geometry().x(),widget->geometry().y() ); resize( widget->size().width(), widget->size().height() ); front = TQImage( widget->size(), 32 ); @@ -116,8 +116,8 @@ void TQAlphaWidget::run( int time ) back = TQImage( widget->size(), 32 ); back = TQPixmap::grabWindow( TQApplication::desktop()->winId(), - widget->tqgeometry().x(), widget->tqgeometry().y(), - widget->tqgeometry().width(), widget->tqgeometry().height() ); + widget->geometry().x(), widget->geometry().y(), + widget->geometry().width(), widget->geometry().height() ); if ( !back.isNull() && checkTime.elapsed() < duration / 2 ) { mixed = back.copy(); @@ -142,7 +142,7 @@ bool TQAlphaWidget::eventFilter( TQObject* o, TQEvent* e ) case TQEvent::Move: if ( o != widget ) break; - move( widget->tqgeometry().x(),widget->tqgeometry().y() ); + move( widget->geometry().x(),widget->geometry().y() ); update(); break; case TQEvent::Hide: @@ -251,7 +251,7 @@ void TQAlphaWidget::render() widget->clearWState( WState_ForceHide ); alphaBlend(); pm = mixed; - tqrepaint( FALSE ); + repaint( FALSE ); } } @@ -348,7 +348,7 @@ bool TQRollEffect::eventFilter( TQObject* o, TQEvent* e ) case TQEvent::Move: if ( o != widget ) break; - move( widget->tqgeometry().x(),widget->tqgeometry().y() ); + move( widget->geometry().x(),widget->geometry().y() ); update(); break; case TQEvent::Hide: @@ -438,7 +438,7 @@ void TQRollEffect::run( int time ) widget->setWState( WState_Visible ); - move( widget->tqgeometry().x(),widget->tqgeometry().y() ); + move( widget->geometry().x(),widget->geometry().y() ); resize( TQMIN( currentWidth, totalWidth ), TQMIN( currentHeight, totalHeight ) ); show(); @@ -484,8 +484,8 @@ void TQRollEffect::scroll() int w = totalWidth; int h = totalHeight; - int x = widget->tqgeometry().x(); - int y = widget->tqgeometry().y(); + int x = widget->geometry().x(); + int y = widget->geometry().y(); if ( orientation & RightScroll || orientation & LeftScroll ) w = TQMIN( currentWidth, totalWidth ); @@ -494,15 +494,15 @@ void TQRollEffect::scroll() setUpdatesEnabled( FALSE ); if ( orientation & UpScroll ) - y = widget->tqgeometry().y() + TQMAX( 0, totalHeight - currentHeight ); + y = widget->geometry().y() + TQMAX( 0, totalHeight - currentHeight ); if ( orientation & LeftScroll ) - x = widget->tqgeometry().x() + TQMAX( 0, totalWidth - currentWidth ); + x = widget->geometry().x() + TQMAX( 0, totalWidth - currentWidth ); if ( orientation & UpScroll || orientation & LeftScroll ) move( x, y ); resize( w, h ); setUpdatesEnabled( TRUE ); - tqrepaint( FALSE ); + repaint( FALSE ); } if ( done ) { anim.stop(); |