diff options
author | Michele Calgaro <[email protected]> | 2024-02-12 14:08:42 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-12 14:08:52 +0900 |
commit | 67bff2edcacb208dc44dcd521386bef686dc6dbf (patch) | |
tree | 538584042585402a59d4b1464b117033778ccc28 /doc/html/qregion-h.html | |
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 <[email protected]>
Diffstat (limited to 'doc/html/qregion-h.html')
-rw-r--r-- | doc/html/qregion-h.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/qregion-h.html b/doc/html/qregion-h.html index a1e565420..930a1b569 100644 --- a/doc/html/qregion-h.html +++ b/doc/html/qregion-h.html @@ -82,7 +82,7 @@ body { background: #ffffff; color: black; } #include "ntqrect.h" #endif // QT_H -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 struct TQRegionPrivate; #endif @@ -132,13 +132,13 @@ public: bool operator!=( const TQRegion &r ) const { return !(operator==(r)); } -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) HRGN handle() const { return data->rgn; } -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) Region handle() const { if(!data->rgn) updateX11Region(); return data->rgn; } -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) RgnHandle handle(bool require_rgn=FALSE) const; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) // TQGfx_QWS needs this for region drawing void * handle() const { return data->rgn; } #endif @@ -151,37 +151,37 @@ private: TQRegion( bool ); TQRegion copy() const; void detach(); -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) TQRegion winCombine( const TQRegion &, int ) const; #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) void updateX11Region() const; void *clipRectangles( int &num ) const; friend void *qt_getClipRects( const TQRegion &, int & ); #endif void exec( const TQByteArray &, int ver = 0 ); struct TQRegionData : public TQShared { -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) HRGN rgn; -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) Region rgn; void *xrectangles; TQRegionPrivate *region; -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) uint is_rect:1; TQRect rect; RgnHandle rgn; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) void * rgn; #endif bool is_null; } *data; -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) friend struct qt_mac_rgn_data_cache; friend TQRegionData *qt_mac_get_rgn_data(); friend void qt_mac_free_rgn_data(TQRegionData *); void rectifyRegion(); -#elif defined(Q_WS_WIN) +#elif defined(TQ_WS_WIN) friend class TQETWidget; #endif |