diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /src/widgets/qeffects.cpp | |
parent | fb401a891f1b426e9419c0cb16403df407138611 (diff) | |
download | tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.tar.gz tqt3-67bff2edcacb208dc44dcd521386bef686dc6dbf.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
This is the first part of the replacement process.
Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*.
Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow
TDE code to continue building till replacement is carried over to all
other modules.
Once that is completed, the original Q_WS_* defines will
be removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets/qeffects.cpp')
-rw-r--r-- | src/widgets/qeffects.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/widgets/qeffects.cpp b/src/widgets/qeffects.cpp index d1416483..ddf0dd70 100644 --- a/src/widgets/qeffects.cpp +++ b/src/widgets/qeffects.cpp @@ -109,7 +109,7 @@ TQAlphaWidget::TQAlphaWidget( TQWidget* w, WFlags f ) : TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)), "qt internal alpha effect widget", f ) { -#if 1 //ndef Q_WS_WIN +#if 1 //ndef TQ_WS_WIN setEnabled( FALSE ); #endif @@ -255,7 +255,7 @@ void TQAlphaWidget::render() if ( widget ) { if ( !showWidget ) { -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN setEnabled(TRUE); setFocus(); #endif @@ -381,7 +381,7 @@ TQRollEffect::TQRollEffect( TQWidget* w, WFlags f, DirFlags orient ) : TQWidget( TQApplication::desktop()->screen(TQApplication::desktop()->screenNumber(w)), "qt internal roll effect widget", f ), orientation(orient) { -#if 1 //ndef Q_WS_WIN +#if 1 //ndef TQ_WS_WIN setEnabled( FALSE ); #endif widget = (TQAccessWidget*) w; @@ -584,7 +584,7 @@ void TQRollEffect::scroll() tqApp->removeEventFilter( this ); if ( widget ) { if ( !showWidget ) { -#ifdef Q_WS_WIN +#ifdef TQ_WS_WIN setEnabled(TRUE); setFocus(); #endif @@ -635,7 +635,7 @@ void qScrollEffect( TQWidget* w, TQEffects::DirFlags orient, int time ) tqApp->sendPostedEvents( w, TQEvent::Move ); tqApp->sendPostedEvents( w, TQEvent::Resize ); -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 uint flags = TQt::WStyle_Customize | TQt::WNoAutoErase | TQt::WStyle_StaysOnTop | (w->isPopup() ? TQt::WType_Popup : (TQt::WX11BypassWM | TQt::WStyle_Tool)); #else @@ -660,7 +660,7 @@ void qFadeEffect( TQWidget* w, int time ) tqApp->sendPostedEvents( w, TQEvent::Move ); tqApp->sendPostedEvents( w, TQEvent::Resize ); -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 uint flags = TQt::WStyle_Customize | TQt::WNoAutoErase | TQt::WStyle_StaysOnTop | (w->isPopup() ? TQt::WType_Popup : (TQt::WX11BypassWM | TQt::WStyle_Tool)); #else |