summaryrefslogtreecommitdiffstats
path: root/doc/html/qpixmap-h.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qpixmap-h.html')
-rw-r--r--doc/html/qpixmap-h.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/qpixmap-h.html b/doc/html/qpixmap-h.html
index b8f8654d9..54a4e3614 100644
--- a/doc/html/qpixmap-h.html
+++ b/doc/html/qpixmap-h.html
@@ -87,7 +87,7 @@ body { background: #ffffff; color: black; }
class TQGfx;
class TQPixmapPrivate;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
// Internal pixmap memory optimization class for Windows 9x
class TQMultiCellPixmap;
#endif
@@ -175,7 +175,7 @@ public:
bool save( TQIODevice* device, const char* format, int quality = -1 ) const;
#endif
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
HBITMAP hbm() const;
#endif
@@ -190,7 +190,7 @@ public:
bool isTQBitmap() const;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
// These functions are internal and used by Windows 9x only
bool isMultiCellPixmap() const;
HDC multiCellHandle() const;
@@ -200,13 +200,13 @@ public:
void freeCell( bool = FALSE );
#endif
-#if defined(Q_WS_QWS)
+#if defined(TQ_WS_QWS)
virtual TQGfx * graphicsContext(bool clip_children=TRUE) const;
virtual unsigned char * scanLine(int) const;
virtual int bytesPerLine() const;
TQRgb * clut() const;
int numCols() const;
-#elif defined(Q_WS_X11)
+#elif defined(TQ_WS_X11)
static int x11SetDefaultScreen( int screen );
void x11SetScreen( int screen );
#endif
@@ -219,7 +219,7 @@ protected:
TQPixmap( int w, int h, const uchar *data, bool isXbitmap );
int metric( int ) const;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
struct TQMCPI { // mem optim for win9x
TQMultiCellPixmap *mcp;
int offset;
@@ -232,12 +232,12 @@ protected:
uint uninit : 1;
uint bitmap : 1;
uint selfmask : 1;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
uint mcp : 1;
#endif
int ser_no;
TQBitmap *mask;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
TQPixmap *maskpm;
union {
HBITMAP hbm; // if mcp == FALSE
@@ -247,14 +247,14 @@ protected:
#ifdef Q_OS_TEMP
uchar* ppvBits; // Pointer to DIBSection bits
#endif
-#elif defined(Q_WS_X11)
+#elif defined(TQ_WS_X11)
void *ximage;
void *maskgc;
TQPixmap *alphapm;
-#elif defined(Q_WS_MAC)
+#elif defined(TQ_WS_MAC)
ColorTable *clut;
TQPixmap *alphapm;
-#elif defined(Q_WS_QWS)
+#elif defined(TQ_WS_QWS)
int id; // ### should use TQPaintDevice::hd, since it is there
TQRgb * clut;
int numcols;
@@ -263,7 +263,7 @@ protected:
bool hasAlpha;
#endif
Optimization optim;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
HBITMAP old_hbm;
#endif
} *data;
@@ -275,7 +275,7 @@ private:
void init( int, int, int, bool, Optimization );
void deref();
TQPixmap copy( bool ignoreMask = FALSE ) const;
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
void initAlphaPixmap( uchar *bytes, int length, struct tagBITMAPINFO *bmi );
void convertToAlphaPixmap( bool initAlpha=TRUE );
static void bitBltAlphaPixmap( TQPixmap *dst, int dx, int dy,
@@ -293,7 +293,7 @@ private:
const TQPixmap *src, int sx, int sy,
int sw, int sh );
-#if defined(Q_WS_MAC)
+#if defined(TQ_WS_MAC)
friend void unclippedScaledBitBlt(TQPaintDevice *, int, int, int, int,
const TQPaintDevice *, int, int, int, int,
TQt::RasterOp, bool, bool);
@@ -331,7 +331,7 @@ inline bool TQPixmap::selfMask() const
return data->selfmask;
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
inline HBITMAP TQPixmap::hbm() const
{
return data->mcp ? 0 : data->hbm_or_mcpi.hbm;
@@ -353,7 +353,7 @@ inline bool TQPixmap::isTQBitmap() const
return data->bitmap;
}
-#if defined(Q_WS_WIN)
+#if defined(TQ_WS_WIN)
inline bool TQPixmap::isMultiCellPixmap() const
{
return data->mcp;
@@ -377,7 +377,7 @@ TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQPixmap &
#ifndef TQT_NO_PIXMAP_TRANSFORMATION
# define QT_XFORM_TYPE_MSBFIRST 0
# define QT_XFORM_TYPE_LSBFIRST 1
-# if defined(Q_WS_WIN)
+# if defined(TQ_WS_WIN)
# define QT_XFORM_TYPE_WINDOWSPIXMAP 2
# endif
bool qt_xForm_helper( const TQWMatrix&, int, int, int, uchar*, int, int, int, uchar*, int, int, int );