summaryrefslogtreecommitdiffstats
path: root/doc/html/qregion-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-12 14:08:42 +0900
committerMichele Calgaro <[email protected]>2024-02-12 14:08:52 +0900
commit67bff2edcacb208dc44dcd521386bef686dc6dbf (patch)
tree538584042585402a59d4b1464b117033778ccc28 /doc/html/qregion-h.html
parentfb401a891f1b426e9419c0cb16403df407138611 (diff)
downloadtqt3-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.html26
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 &amp;r ) const
{ return !(operator==(r)); }
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
HRGN handle() const { return data-&gt;rgn; }
-#elif defined(Q_WS_X11)
+#elif defined(TQ_WS_X11)
Region handle() const { if(!data-&gt;rgn) updateX11Region(); return data-&gt;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-&gt;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 &amp;, int ) const;
#endif
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
void updateX11Region() const;
void *clipRectangles( int &amp;num ) const;
friend void *qt_getClipRects( const TQRegion &amp;, int &amp; );
#endif
void exec( const TQByteArray &amp;, 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