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/qpaintdevice-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/qpaintdevice-h.html')
-rw-r--r-- | doc/html/qpaintdevice-h.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/qpaintdevice-h.html b/doc/html/qpaintdevice-h.html index 9fff8419c..6688b3016 100644 --- a/doc/html/qpaintdevice-h.html +++ b/doc/html/qpaintdevice-h.html @@ -82,7 +82,7 @@ body { background: #ffffff; color: black; } #include "ntqrect.h" #endif // QT_H -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) class TQWSDisplay; class TQGfx; #endif @@ -92,7 +92,7 @@ class TQString; class TQTextItem; -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) struct TQPaintDeviceX11Data; #endif @@ -131,18 +131,18 @@ public: // Windows: get device context // X-Windows: get drawable -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) virtual HDC handle() const; -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) virtual TQt::HANDLE handle() const; virtual TQt::HANDLE x11RenderHandle() const; -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) virtual TQt::HANDLE handle() const; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) virtual TQt::HANDLE handle() const; #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) Display *x11Display() const; int x11Screen() const; int x11Depth() const; @@ -182,7 +182,7 @@ public: static void x11SetAppDpiY( int, int ); #endif -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) static TQWSDisplay *qwsDisplay(); virtual unsigned char * scanLine(int) const; virtual int bytesPerLine() const; @@ -249,9 +249,9 @@ public: protected: TQPaintDevice( uint devflags ); -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) HDC hdc; // device context -#elif defined(Q_WS_X11) +#elif defined(TQ_WS_X11) TQt::HANDLE hd; // handle to drawable TQt::HANDLE rendhd; // handle to RENDER pict @@ -259,12 +259,12 @@ protected: void cloneX11Data( const TQPaintDevice * ); virtual void setX11Data( const TQPaintDeviceX11Data* ); TQPaintDeviceX11Data* getX11Data( bool def=FALSE ) const; -#elif defined(Q_WS_MAC) +#elif defined(TQ_WS_MAC) #if !defined( TQMAC_NO_QUARTZ ) CGContextRef ctx; #endif void * hd; -#elif defined(Q_WS_QWS) +#elif defined(TQ_WS_QWS) TQt::HANDLE hd; #endif @@ -278,7 +278,7 @@ protected: friend class TQPainter; friend class TQPaintDeviceMetrics; -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) #ifndef TQMAC_NO_QUARTZ virtual CGContextRef macCGContext(bool clipped=TRUE) const; #endif @@ -289,13 +289,13 @@ protected: const TQPaintDevice *, int, int, int, int, TQt::RasterOp, bool ); #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) friend void tqt_init_internal( int *, char **, Display *, TQt::HANDLE, TQt::HANDLE ); friend void tqt_cleanup(); #endif private: -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) static Display *x_appdisplay; static int x_appscreen; @@ -338,7 +338,7 @@ void bitBlt( TQPaintDevice *dst, int dx, int dy, int conversion_flags=0 ); -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) struct TQ_EXPORT TQPaintDeviceX11Data : public TQShared { Display* x_display; @@ -366,7 +366,7 @@ inline bool TQPaintDevice::isExtDev() const inline bool TQPaintDevice::paintingActive() const { return painters != 0; } -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) inline Display *TQPaintDevice::x11Display() const { return x11Data ? x11Data->x_display : x_appdisplay; } @@ -439,7 +439,7 @@ inline void *TQPaintDevice::x11AppVisual() inline bool TQPaintDevice::x11AppDefaultVisual() { return x_appdefvisual; } -#endif // Q_WS_X11 +#endif // TQ_WS_X11 TQ_EXPORT |