From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqstylesheetitem.html | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'doc/html/tqstylesheetitem.html') diff --git a/doc/html/tqstylesheetitem.html b/doc/html/tqstylesheetitem.html index 814cc5bc3..18e87fa86 100644 --- a/doc/html/tqstylesheetitem.html +++ b/doc/html/tqstylesheetitem.html @@ -202,8 +202,8 @@ Returns the alignment of this style. Possible values are TQStyleSheetItem::allowedInContext ( const TQStyleSheetItem * s ) const -Returns TRUE if this style can be nested into an element of style -s; otherwise returns FALSE. +Returns true if this style can be nested into an element of style +s; otherwise returns false.

See also contexts() and setContexts().

TQColor TQStyleSheetItem::color () const @@ -222,22 +222,22 @@ nested everywhere.

bool TQStyleSheetItem::definesFontItalic () const

-Returns TRUE if the style defines a font shape; otherwise returns -FALSE. A style does not define any shape until setFontItalic() is +Returns true if the style defines a font shape; otherwise returns +false. A style does not define any shape until setFontItalic() is called.

See also setFontItalic() and fontItalic().

bool TQStyleSheetItem::definesFontStrikeOut () const

-Returns TRUE if the style defines a setting for the strikeOut -property of the font; otherwise returns FALSE. A style does not +Returns true if the style defines a setting for the strikeOut +property of the font; otherwise returns false. A style does not define this until setFontStrikeOut() is called.

See also setFontStrikeOut() and fontStrikeOut().

bool TQStyleSheetItem::definesFontUnderline () const

-Returns TRUE if the style defines a setting for the underline -property of the font; otherwise returns FALSE. A style does not +Returns true if the style defines a setting for the underline +property of the font; otherwise returns false. A style does not define this until setFontUnderline() is called.

See also setFontUnderline() and fontUnderline(). @@ -255,8 +255,8 @@ valid font family or TQString::null if

bool TQStyleSheetItem::fontItalic () const

-Returns TRUE if the style sets an italic font; otherwise returns -FALSE. +Returns true if the style sets an italic font; otherwise returns +false.

See also setFontItalic() and definesFontItalic().

int TQStyleSheetItem::fontSize () const @@ -267,14 +267,14 @@ point size or TQStyleSheetItem::Undefined<

bool TQStyleSheetItem::fontStrikeOut () const

-Returns TRUE if the style sets a strike out font; otherwise -returns FALSE. +Returns true if the style sets a strike out font; otherwise +returns false.

See also setFontStrikeOut() and definesFontStrikeOut().

bool TQStyleSheetItem::fontUnderline () const

-Returns TRUE if the style sets an underlined font; otherwise -returns FALSE. +Returns true if the style sets an underlined font; otherwise +returns false.

See also setFontUnderline() and definesFontUnderline().

int TQStyleSheetItem::fontWeight () const @@ -334,8 +334,8 @@ Unbounds first from previous style sheet.

bool TQStyleSheetItem::selfNesting () const

-Returns TRUE if this style has self-nesting enabled; otherwise -returns FALSE. +Returns true if this style has self-nesting enabled; otherwise +returns false.

See also setSelfNesting().

void TQStyleSheetItem::setAlignment ( int f ) @@ -348,7 +348,7 @@ DisplayBlock. Possible values are AlignAu

void TQStyleSheetItem::setAnchor ( bool anc )

-If anc is TRUE, sets this style to be an anchor (hypertext +If anc is true, sets this style to be an anchor (hypertext link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.

See also isAnchor(). @@ -377,7 +377,7 @@ Sets the font family setting of the style to fam.

void TQStyleSheetItem::setFontItalic ( bool italic )

-If italic is TRUE sets italic for the style; otherwise sets +If italic is true sets italic for the style; otherwise sets upright.

See also fontItalic() and definesFontItalic(). @@ -388,13 +388,13 @@ Sets the font size setting of the style to s points.

void TQStyleSheetItem::setFontStrikeOut ( bool strikeOut )

-If strikeOut is TRUE, sets strike out for the style; otherwise +If strikeOut is true, sets strike out for the style; otherwise sets no strike out.

See also fontStrikeOut() and definesFontStrikeOut().

void TQStyleSheetItem::setFontUnderline ( bool underline )

-If underline is TRUE, sets underline for the style; otherwise +If underline is true, sets underline for the style; otherwise sets no underline.

See also fontUnderline() and definesFontUnderline(). -- cgit v1.2.3