summaryrefslogtreecommitdiffstats
path: root/src/widgets/qeffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qeffects.cpp')
-rw-r--r--src/widgets/qeffects.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/widgets/qeffects.cpp b/src/widgets/qeffects.cpp
index 98939b4c2..7377eba78 100644
--- a/src/widgets/qeffects.cpp
+++ b/src/widgets/qeffects.cpp
@@ -145,7 +145,7 @@ void TQAlphaWidget::run( int time )
checkTime.start();
showWidget = TRUE;
- qApp->installEventFilter( this );
+ tqApp->installEventFilter( this );
widget->setWState( WState_Visible );
@@ -251,7 +251,7 @@ void TQAlphaWidget::render()
alpha = 1;
if ( alpha >= 1 || !showWidget) {
anim.stop();
- qApp->removeEventFilter( this );
+ tqApp->removeEventFilter( this );
if ( widget ) {
if ( !showWidget ) {
@@ -318,9 +318,9 @@ void TQAlphaWidget::alphaBlend()
Q_UINT32 bp = bl[sx];
Q_UINT32 fp = fl[sx];
- ((Q_UINT32*)(md[sy]))[sx] = qRgb(int (qRed(bp)*ia + qRed(fp)*alpha),
- int (qGreen(bp)*ia + qGreen(fp)*alpha),
- int (qBlue(bp)*ia + qBlue(fp)*alpha) );
+ ((Q_UINT32*)(md[sy]))[sx] = tqRgb(int (tqRed(bp)*ia + tqRed(fp)*alpha),
+ int (tqGreen(bp)*ia + tqGreen(fp)*alpha),
+ int (tqBlue(bp)*ia + tqBlue(fp)*alpha) );
}
}
}
@@ -519,7 +519,7 @@ void TQRollEffect::run( int time )
show();
setEnabled(FALSE);
- qApp->installEventFilter( this );
+ tqApp->installEventFilter( this );
showWidget = TRUE;
done = FALSE;
@@ -581,7 +581,7 @@ void TQRollEffect::scroll()
}
if ( done ) {
anim.stop();
- qApp->removeEventFilter( this );
+ tqApp->removeEventFilter( this );
if ( widget ) {
if ( !showWidget ) {
#ifdef Q_WS_WIN
@@ -633,8 +633,8 @@ void qScrollEffect( TQWidget* w, TQEffects::DirFlags orient, int time )
q_roll = 0;
}
- qApp->sendPostedEvents( w, TQEvent::Move );
- qApp->sendPostedEvents( w, TQEvent::Resize );
+ tqApp->sendPostedEvents( w, TQEvent::Move );
+ tqApp->sendPostedEvents( w, TQEvent::Resize );
#ifdef Q_WS_X11
uint flags = TQt::WStyle_Customize | TQt::WNoAutoErase | TQt::WStyle_StaysOnTop
| (w->isPopup() ? TQt::WType_Popup : (TQt::WX11BypassWM | TQt::WStyle_Tool));
@@ -657,8 +657,8 @@ void qFadeEffect( TQWidget* w, int time )
q_blend = 0;
}
- qApp->sendPostedEvents( w, TQEvent::Move );
- qApp->sendPostedEvents( w, TQEvent::Resize );
+ tqApp->sendPostedEvents( w, TQEvent::Move );
+ tqApp->sendPostedEvents( w, TQEvent::Resize );
#ifdef Q_WS_X11
uint flags = TQt::WStyle_Customize | TQt::WNoAutoErase | TQt::WStyle_StaysOnTop