summaryrefslogtreecommitdiffstats
path: root/src/qeffects.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:33 -0600
commitae6cafee5339716bd01aa6c66aa4f366bdc5d43b (patch)
treedb682cc1b772442e3ac4986b8f66119531291a4e /src/qeffects.cpp
parent882bcd26b3d60be72ea2b35921969a9850c52db9 (diff)
downloadbasket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.tar.gz
basket-ae6cafee5339716bd01aa6c66aa4f366bdc5d43b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 882bcd26b3d60be72ea2b35921969a9850c52db9.
Diffstat (limited to 'src/qeffects.cpp')
-rw-r--r--src/qeffects.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/qeffects.cpp b/src/qeffects.cpp
index 28fdb83..45ff01d 100644
--- a/src/qeffects.cpp
+++ b/src/qeffects.cpp
@@ -108,7 +108,7 @@ void TQAlphaWidget::run( int time )
widget->setWState( WState_Visible );
- move( widget->geometry().x(),widget->geometry().y() );
+ move( widget->tqgeometry().x(),widget->tqgeometry().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->geometry().x(), widget->geometry().y(),
- widget->geometry().width(), widget->geometry().height() );
+ widget->tqgeometry().x(), widget->tqgeometry().y(),
+ widget->tqgeometry().width(), widget->tqgeometry().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->geometry().x(),widget->geometry().y() );
+ move( widget->tqgeometry().x(),widget->tqgeometry().y() );
update();
break;
case TQEvent::Hide:
@@ -251,7 +251,7 @@ void TQAlphaWidget::render()
widget->clearWState( WState_ForceHide );
alphaBlend();
pm = mixed;
- repaint( FALSE );
+ tqrepaint( FALSE );
}
}
@@ -311,8 +311,8 @@ TQRollEffect::TQRollEffect( TQWidget* w, WFlags f, DirFlags orient )
totalWidth = widget->width();
totalHeight = widget->height();
} else {
- totalWidth = widget->sizeHint().width();
- totalHeight = widget->sizeHint().height();
+ totalWidth = widget->tqsizeHint().width();
+ totalHeight = widget->tqsizeHint().height();
}
currentHeight = totalHeight;
@@ -348,7 +348,7 @@ bool TQRollEffect::eventFilter( TQObject* o, TQEvent* e )
case TQEvent::Move:
if ( o != widget )
break;
- move( widget->geometry().x(),widget->geometry().y() );
+ move( widget->tqgeometry().x(),widget->tqgeometry().y() );
update();
break;
case TQEvent::Hide:
@@ -438,7 +438,7 @@ void TQRollEffect::run( int time )
widget->setWState( WState_Visible );
- move( widget->geometry().x(),widget->geometry().y() );
+ move( widget->tqgeometry().x(),widget->tqgeometry().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->geometry().x();
- int y = widget->geometry().y();
+ int x = widget->tqgeometry().x();
+ int y = widget->tqgeometry().y();
if ( orientation & RightScroll || orientation & LeftScroll )
w = TQMIN( currentWidth, totalWidth );
@@ -494,15 +494,15 @@ void TQRollEffect::scroll()
setUpdatesEnabled( FALSE );
if ( orientation & UpScroll )
- y = widget->geometry().y() + TQMAX( 0, totalHeight - currentHeight );
+ y = widget->tqgeometry().y() + TQMAX( 0, totalHeight - currentHeight );
if ( orientation & LeftScroll )
- x = widget->geometry().x() + TQMAX( 0, totalWidth - currentWidth );
+ x = widget->tqgeometry().x() + TQMAX( 0, totalWidth - currentWidth );
if ( orientation & UpScroll || orientation & LeftScroll )
move( x, y );
resize( w, h );
setUpdatesEnabled( TRUE );
- repaint( FALSE );
+ tqrepaint( FALSE );
}
if ( done ) {
anim.stop();