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 /doc/html/qpainter-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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qpainter-h.html')
-rw-r--r-- | doc/html/qpainter-h.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/qpainter-h.html b/doc/html/qpainter-h.html index 830386e08..5bc9742b8 100644 --- a/doc/html/qpainter-h.html +++ b/doc/html/qpainter-h.html @@ -94,12 +94,12 @@ class TQTextCodec; class TQTextParag; class TQPaintDevice; class TQTextItem; -#if defined( Q_WS_MAC ) +#if defined( TQ_WS_MAC ) class TQMacSavedPortInfo; #endif class TQPainterPrivate; -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) class TQScreen; #endif @@ -118,7 +118,7 @@ public: bool end(); TQPaintDevice *device() const; -#ifdef Q_WS_QWS +#ifdef TQ_WS_QWS TQGfx * internalGfx(); #ifdef QT_QWS_EXPERIMENTAL_SCREENPAINTER bool begin(TQScreen *screen); @@ -322,9 +322,9 @@ public: // Other functions -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) HDC handle() const; -#elif defined(Q_WS_X11) || defined(Q_WS_MAC) +#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC) HANDLE handle() const; #endif @@ -424,11 +424,11 @@ protected: TQPoint internalCurrentPos; uint old_pix; // ### All win platforms in 4.0 #endif -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) friend class TQFontEngineWin; friend class TQFontEngineBox; QT_WIN_PAINTER_MEMBERS -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) friend class TQFontEngineXLFD; friend class TQFontEngineXft; friend class TQFontEngineBox; @@ -440,13 +440,13 @@ protected: GC gc_brush; // graphics contect for brush TQPoint curPt; // current point uint clip_serial; // clipping serial number -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) TQt::HANDLE hd; // handle to drawable void initPaintDevice(bool force=FALSE, TQPoint *off=NULL, TQRegion *rgn=NULL); friend const TQRegion &qt_mac_update_painter(TQPainter *, bool); friend class TQFontEngineMac; friend class TQMacPainter; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) friend class TQFontEngine; TQGfx * gfx; friend void qwsUpdateActivePainters(); @@ -585,12 +585,12 @@ inline int *TQPainter::tabArray() const return tabarray; } -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) inline HDC TQPainter::handle() const { return hdc; } -#elif defined(Q_WS_X11) || defined(Q_WS_MAC) +#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC) inline TQt::HANDLE TQPainter::handle() const { return hd; @@ -747,7 +747,7 @@ inline TQRect TQPainter::boundingRect( int x, int y, int w, int h, int tf, return boundingRect( r, tf, str, len, i ); } -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) inline TQGfx * TQPainter::internalGfx() { return gfx; |