summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfont.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqfont.3qt')
-rw-r--r--doc/man/man3/tqfont.3qt42
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt
index 799ba253c..006496267 100644
--- a/doc/man/man3/tqfont.3qt
+++ b/doc/man/man3/tqfont.3qt
@@ -29,7 +29,7 @@ TQFont \- Font used for drawing text
.BI "\fBTQFont\fR ()"
.br
.ti -1c
-.BI "\fBTQFont\fR ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )"
+.BI "\fBTQFont\fR ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = false )"
.br
.ti -1c
.BI "\fBTQFont\fR ( const TQFont & font )"
@@ -227,7 +227,7 @@ TQFont \- Font used for drawing text
.SH DESCRIPTION
The TQFont class specifies a font used for drawing text.
.PP
-When you create a TQFont object you specify various attributes that you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a TQFontInfo object. If the window system provides an exact match exactMatch() returns TRUE. Use TQFontMetrics to get measurements, e.g. the pixel length of a string using TQFontMetrics::width().
+When you create a TQFont object you specify various attributes that you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a TQFontInfo object. If the window system provides an exact match exactMatch() returns true. Use TQFontMetrics to get measurements, e.g. the pixel length of a string using TQFontMetrics::width().
.PP
Use TQApplication::setFont() to set the application's default font.
.PP
@@ -545,7 +545,7 @@ This enum contains the predefined font weights:
Constructs a font object that uses the application's default font.
.PP
See also TQApplication::setFont() and TQApplication::font().
-.SH "TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )"
+.SH "TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = false )"
Constructs a font object with the specified \fIfamily\fR, \fIpointSize\fR, \fIweight\fR and \fIitalic\fR settings.
.PP
If \fIpointSize\fR is <= 0 it is set to 1.
@@ -558,7 +558,7 @@ Constructs a font that is a copy of \fIfont\fR.
.SH "TQFont::~TQFont ()"
Destroys the font object and frees all allocated resources.
.SH "bool TQFont::bold () const"
-Returns TRUE if weight() is a value greater than TQFont::Normal; otherwise returns FALSE.
+Returns true if weight() is a value greater than TQFont::Normal; otherwise returns false.
.PP
See also weight(), setBold(), and TQFontInfo::bold().
.PP
@@ -578,9 +578,9 @@ See also StyleHint, styleHint(), and setStyleHint().
.PP
Please use TQApplication::font() instead.
.SH "bool TQFont::dirty () const\fC [protected]\fR"
-Returns TRUE if the font attributes have been changed and the font has to be (re)loaded; otherwise returns FALSE.
+Returns true if the font attributes have been changed and the font has to be (re)loaded; otherwise returns false.
.SH "bool TQFont::exactMatch () const"
-Returns TRUE if a window system font exactly matching the settings of this font is available.
+Returns true if a window system font exactly matching the settings of this font is available.
.PP
See also TQFontInfo.
.SH "TQString TQFont::family () const"
@@ -591,7 +591,7 @@ See also setFamily(), substitutes(), and substitute().
Examples:
.)l chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp.
.SH "bool TQFont::fixedPitch () const"
-Returns TRUE if fixed pitch has been set; otherwise returns FALSE.
+Returns true if fixed pitch has been set; otherwise returns false.
.PP
See also setFixedPitch() and TQFontInfo::fixedPitch().
.SH "bool TQFont::fromString ( const TQString & descrip )"
@@ -613,11 +613,11 @@ See also insertSubstitution(), removeSubstitution(), substitutions(), and substi
.PP
Example: fonts/simple-tqfont-demo/viewer.cpp.
.SH "bool TQFont::isCopyOf ( const TQFont & f ) const"
-Returns TRUE if this font and \fIf\fR are copies of each other, i.e. one of them was created as a copy of the other and neither has been modified since. This is much stricter than equality.
+Returns true if this font and \fIf\fR are copies of each other, i.e. one of them was created as a copy of the other and neither has been modified since. This is much stricter than equality.
.PP
See also operator=() and operator==().
.SH "bool TQFont::italic () const"
-Returns TRUE if italic has been set; otherwise returns FALSE.
+Returns true if italic has been set; otherwise returns false.
.PP
See also setItalic().
.PP
@@ -641,7 +641,7 @@ It is theoretically possible that there really isn't a lastResortFont() in which
.PP
See also lastResortFamily() and rawName().
.SH "bool TQFont::operator!= ( const TQFont & f ) const"
-Returns TRUE if this font is different from \fIf\fR; otherwise returns FALSE.
+Returns true if this font is different from \fIf\fR; otherwise returns false.
.PP
Two TQFonts are considered to be different if their font attributes are different. If rawMode() is enabled for both fonts, only the family fields are compared.
.PP
@@ -649,13 +649,13 @@ See also operator==().
.SH "TQFont & TQFont::operator= ( const TQFont & font )"
Assigns \fIfont\fR to this font and returns a reference to it.
.SH "bool TQFont::operator== ( const TQFont & f ) const"
-Returns TRUE if this font is equal to \fIf\fR; otherwise returns FALSE.
+Returns true if this font is equal to \fIf\fR; otherwise returns false.
.PP
Two TQFonts are considered equal if their font attributes are equal. If rawMode() is enabled for both fonts, only the family fields are compared.
.PP
See also operator!=() and isCopyOf().
.SH "bool TQFont::overline () const"
-Returns TRUE if overline has been set; otherwise returns FALSE.
+Returns true if overline has been set; otherwise returns false.
.PP
See also setOverline().
.SH "int TQFont::pixelSize () const"
@@ -674,7 +674,7 @@ Returns the point size of the font. Returns -1 if the font size was specified in
.PP
See also pointSize(), setPointSizeFloat(), pixelSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize().
.SH "bool TQFont::rawMode () const"
-Returns TRUE if raw mode is used for font name matching; otherwise returns FALSE.
+Returns true if raw mode is used for font name matching; otherwise returns false.
.PP
See also setRawMode() and rawName().
.SH "TQString TQFont::rawName () const"
@@ -713,18 +713,18 @@ The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetic
.PP
See also family(), setStyleHint(), and TQFontInfo.
.SH "void TQFont::setFixedPitch ( bool enable )"
-If \fIenable\fR is TRUE, sets fixed pitch on; otherwise sets fixed pitch off.
+If \fIenable\fR is true, sets fixed pitch on; otherwise sets fixed pitch off.
.PP
See also fixedPitch() and TQFontInfo.
.SH "void TQFont::setItalic ( bool enable )"
-If \fIenable\fR is TRUE, italic is set on; otherwise italic is set off.
+If \fIenable\fR is true, italic is set on; otherwise italic is set off.
.PP
See also italic() and TQFontInfo.
.PP
Examples:
.)l fileiconview/tqfileiconview.cpp, fonts/simple-tqfont-demo/viewer.cpp, and themes/metal.cpp.
.SH "void TQFont::setOverline ( bool enable )"
-If \fIenable\fR is TRUE, sets overline on; otherwise sets overline off.
+If \fIenable\fR is true, sets overline on; otherwise sets overline off.
.PP
See also overline() and TQFontInfo.
.SH "void TQFont::setPixelSize ( int pixelSize )"
@@ -750,7 +750,7 @@ Sets the point size to \fIpointSize\fR. The point size must be greater than zero
.PP
See also pointSizeFloat(), setPointSize(), and setPixelSize().
.SH "void TQFont::setRawMode ( bool enable )"
-If \fIenable\fR is TRUE, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11.
+If \fIenable\fR is true, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11.
.PP
If raw mode is enabled, TQt will search for an X font with a complete font name matching the family name, ignoring all other values set for the TQFont. If the font name matches several fonts, TQt will use the first font returned by X. TQFontInfo \fIcannot\fR be used to fetch information about a TQFont using raw mode (it will return the values set in the TQFont for all parameters, including the family name).
.PP
@@ -778,7 +778,7 @@ NOTE: TQFont cannot stretch XLFD fonts. When loading XLFD fonts on X11, the stre
.PP
See also stretch() and TQFont::StyleStrategy.
.SH "void TQFont::setStrikeOut ( bool enable )"
-If \fIenable\fR is TRUE, sets strikeout on; otherwise sets strikeout off.
+If \fIenable\fR is true, sets strikeout on; otherwise sets strikeout off.
.PP
See also strikeOut() and TQFontInfo.
.SH "void TQFont::setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault )"
@@ -797,7 +797,7 @@ Sets the style strategy for the font to \fIs\fR.
.PP
See also TQFont::StyleStrategy.
.SH "void TQFont::setUnderline ( bool enable )"
-If \fIenable\fR is TRUE, sets underline on; otherwise sets underline off.
+If \fIenable\fR is true, sets underline on; otherwise sets underline off.
.PP
See also underline() and TQFontInfo.
.PP
@@ -814,7 +814,7 @@ Returns the stretch factor for the font.
.PP
See also setStretch().
.SH "bool TQFont::strikeOut () const"
-Returns TRUE if strikeout has been set; otherwise returns FALSE.
+Returns true if strikeout has been set; otherwise returns false.
.PP
See also setStrikeOut().
.SH "StyleHint TQFont::styleHint () const"
@@ -854,7 +854,7 @@ Returns a description of the font. The description is a comma-separated list of
.PP
See also fromString() and operator<<().
.SH "bool TQFont::underline () const"
-Returns TRUE if underline has been set; otherwise returns FALSE.
+Returns true if underline has been set; otherwise returns false.
.PP
See also setUnderline().
.SH "int TQFont::weight () const"