diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqpaintevent.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqpaintevent.3qt')
| -rw-r--r-- | doc/man/man3/tqpaintevent.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqpaintevent.3qt b/doc/man/man3/tqpaintevent.3qt index 74ae8b2ff..77080e997 100644 --- a/doc/man/man3/tqpaintevent.3qt +++ b/doc/man/man3/tqpaintevent.3qt @@ -16,13 +16,13 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, bool erased = TRUE )" +.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, bool erased = true )" .br .ti -1c -.BI "\fBQPaintEvent\fR ( const QRect & paintRect, bool erased = TRUE )" +.BI "\fBQPaintEvent\fR ( const QRect & paintRect, bool erased = true )" .br .ti -1c -.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" +.BI "\fBQPaintEvent\fR ( const QRegion & paintRegion, const QRect & paintRect, bool erased = true )" .br .ti -1c .BI "const QRect & \fBrect\fR () const" @@ -41,18 +41,18 @@ Paint events are sent to widgets that need to update themselves, for instance wh .PP The event contains a region() that needs to be updated, and a rect() that is the bounding rectangle of that region. Both are provided because many widgets can't make much use of region(), and rect() can be much faster than region().boundingRect(). Painting is clipped to region() during processing of a paint event. .PP -The erased() function returns TRUE if the region() has been cleared to the widget's background (see TQWidget::backgroundMode()), and FALSE if the region's contents are arbitrary. +The erased() function returns true if the region() has been cleared to the widget's background (see TQWidget::backgroundMode()), and false if the region's contents are arbitrary. .PP See also QPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, QRegion, and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, bool erased = TRUE )" -Constructs a paint event object with the region that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. -.SH "QPaintEvent::QPaintEvent ( const QRect & paintRect, bool erased = TRUE )" -Constructs a paint event object with the rectangle that should be updated. The region is also given by \fIpaintRect\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. -.SH "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, const QRect & paintRect, bool erased = TRUE )" -Constructs a paint event object with the rectangle \fIpaintRect\fR that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is TRUE the region will be cleared before repainting. +.SH "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, bool erased = true )" +Constructs a paint event object with the region that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is true the region will be cleared before repainting. +.SH "QPaintEvent::QPaintEvent ( const QRect & paintRect, bool erased = true )" +Constructs a paint event object with the rectangle that should be updated. The region is also given by \fIpaintRect\fR. If \fIerased\fR is true the region will be cleared before repainting. +.SH "QPaintEvent::QPaintEvent ( const QRegion & paintRegion, const QRect & paintRect, bool erased = true )" +Constructs a paint event object with the rectangle \fIpaintRect\fR that should be updated. The region is given by \fIpaintRegion\fR. If \fIerased\fR is true the region will be cleared before repainting. .SH "bool QPaintEvent::erased () const" -Returns TRUE if the paint event region (or rectangle) has been erased with the widget's background; otherwise returns FALSE. +Returns true if the paint event region (or rectangle) has been erased with the widget's background; otherwise returns false. .SH "const QRect & QPaintEvent::rect () const" Returns the rectangle that should be updated. .PP |
