diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqbitmap.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqbitmap.3qt')
-rw-r--r-- | doc/man/man3/tqbitmap.3qt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/man/man3/tqbitmap.3qt b/doc/man/man3/tqbitmap.3qt index f0477b2f2..db982debd 100644 --- a/doc/man/man3/tqbitmap.3qt +++ b/doc/man/man3/tqbitmap.3qt @@ -19,16 +19,16 @@ Inherits TQPixmap. .BI "\fBTQBitmap\fR ()" .br .ti -1c -.BI "\fBTQBitmap\fR ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" +.BI "\fBTQBitmap\fR ( int w, int h, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" .br .ti -1c -.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" +.BI "\fBTQBitmap\fR ( const TQSize & size, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" .br .ti -1c -.BI "\fBTQBitmap\fR ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )" +.BI "\fBTQBitmap\fR ( int w, int h, const uchar * bits, bool isXbitmap = false )" .br .ti -1c -.BI "\fBTQBitmap\fR ( const TQSize & size, const uchar * bits, bool isXbitmap = FALSE )" +.BI "\fBTQBitmap\fR ( const TQSize & size, const uchar * bits, bool isXbitmap = false )" .br .ti -1c .BI "\fBTQBitmap\fR ( const TQBitmap & bitmap )" @@ -68,26 +68,26 @@ See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics C Constructs a null bitmap. .PP See also TQPixmap::isNull(). -.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" +.SH "TQBitmap::TQBitmap ( int w, int h, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" Constructs a bitmap with width \fIw\fR and height \fIh\fR. .PP -The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). +The contents of the bitmap is uninitialized if \fIclear\fR is false; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). .PP The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization. .PP See also TQPixmap::setOptimization() and TQPixmap::setDefaultOptimization(). -.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = FALSE, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" +.SH "TQBitmap::TQBitmap ( const TQSize & size, bool clear = false, TQPixmap::Optimization optimization = TQPixmap::DefaultOptim )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a bitmap with the size \fIsize\fR. .PP -The contents of the bitmap is uninitialized if \fIclear\fR is FALSE; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). +The contents of the bitmap is uninitialized if \fIclear\fR is false; otherwise it is filled with pixel value 0 (the TQColor \fCQt::color0\fR). .PP The optional \fIoptimization\fR argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may benefit from setting this argument; see TQPixmap::Optimization. -.SH "TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = FALSE )" +.SH "TQBitmap::TQBitmap ( int w, int h, const uchar * bits, bool isXbitmap = false )" Constructs a bitmap with width \fIw\fR and height \fIh\fR and sets the contents to \fIbits\fR. .PP -The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images. +The \fIisXbitmap\fR flag should be true if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images. .PP Example (creates an arrow bitmap): .PP @@ -95,15 +95,15 @@ Example (creates an arrow bitmap): .br uchar arrow_bits[] = { 0x3f, 0x1f, 0x0f, 0x1f, 0x3b, 0x71, 0xe0, 0xc0 }; .br - TQBitmap bm( 8, 8, arrow_bits, TRUE ); + TQBitmap bm( 8, 8, arrow_bits, true ); .br .fi -.SH "TQBitmap::TQBitmap ( const TQSize & size, const uchar * bits, bool isXbitmap = FALSE )" +.SH "TQBitmap::TQBitmap ( const TQSize & size, const uchar * bits, bool isXbitmap = false )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a bitmap with the size \fIsize\fR and sets the contents to \fIbits\fR. .PP -The \fIisXbitmap\fR flag should be TRUE if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images. +The \fIisXbitmap\fR flag should be true if \fIbits\fR was generated by the X11 bitmap program. The X bitmap bit order is little endian. The TQImage documentation discusses bit order of monochrome images. .SH "TQBitmap::TQBitmap ( const TQBitmap & bitmap )" Constructs a bitmap that is a copy of \fIbitmap\fR. .SH "TQBitmap::TQBitmap ( const TQString & fileName, const char * format = 0 )" |