diff options
Diffstat (limited to 'src/kernel/ntqpainter.h')
-rw-r--r-- | src/kernel/ntqpainter.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/ntqpainter.h b/src/kernel/ntqpainter.h index 96b5c13c3..77e3d183b 100644 --- a/src/kernel/ntqpainter.h +++ b/src/kernel/ntqpainter.h @@ -58,12 +58,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 @@ -82,7 +82,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); @@ -286,9 +286,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 @@ -388,11 +388,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; @@ -404,13 +404,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(); @@ -549,12 +549,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; @@ -711,7 +711,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; |