From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/ntqfont.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'doc/html/ntqfont.html') diff --git a/doc/html/ntqfont.html b/doc/html/ntqfont.html index eb9da5779..c0a176625 100644 --- a/doc/html/ntqfont.html +++ b/doc/html/ntqfont.html @@ -236,7 +236,7 @@ f1 and f2, in the above example will be set to "Helvetica system, use a TQFontInfo object, e.g.
     TQFontInfo info( f1 );
-    TQString family = info.family();
+    TQString family = info.family();
     

To find out font metrics use a TQFontMetrics object, e.g. @@ -451,7 +451,7 @@ ultralight, whilst 99 will be an extremely black. Constructs a font object that uses the application's default font.

See also TQApplication::setFont() and TQApplication::font(). -

TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) +

TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )

Constructs a font object with the specified family, pointSize, weight and italic settings.

If pointSize is <= 0 it is set to 1. @@ -486,7 +486,7 @@ Returns the point size in 1/10ths of a point. in pixels.

See also pointSize() and pointSizeFloat(). -

TQString TQFont::defaultFamily () const +

TQString TQFont::defaultFamily () const

Returns the family name that corresponds to the current style hint. @@ -507,7 +507,7 @@ Returns TRUE if a window system font exactly matching the settings of this font is available.

See also TQFontInfo. -

TQString TQFont::family () const +

TQString TQFont::family () const

Returns the requested font family name, i.e. the name set in the constructor or the last setFont() call. @@ -519,7 +519,7 @@ constructor or the last setFont() call. Returns TRUE if fixed pitch has been set; otherwise returns FALSE.

See also setFixedPitch() and TQFontInfo::fixedPitch(). -

bool TQFont::fromString ( const TQString & descrip ) +

bool TQFont::fromString ( const TQString & descrip )

Sets this font to match the description descrip. The description is a comma-separated list of the font attributes, as returned by @@ -531,14 +531,14 @@ is a comma-separated list of the font attributes, as returned by Returns the window system handle to the font, for low-level access. Using this function is not portable. -

void TQFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName ) [static] +

void TQFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName ) [static]

Inserts the family name substituteName into the substitution table for familyName.

See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes().

Example: fonts/simple-qfont-demo/viewer.cpp. -

void TQFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames ) [static] +

void TQFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames ) [static]

Inserts the list of families substituteNames into the substitution list for familyName. @@ -558,13 +558,13 @@ Returns TRUE if italic has been set; otherwise returns FALSE.

See also setItalic().

Example: chart/optionsform.cpp. -

TQString TQFont::key () const +

TQString TQFont::key () const

Returns the font's key, a textual representation of a font. It is typically used as the key for a cache or dictionary of fonts.

See also TQMap. -

TQString TQFont::lastResortFamily () const +

TQString TQFont::lastResortFamily () const

Returns the "last resort" font family name.

The current implementation tries a wide variety of common fonts, @@ -572,7 +572,7 @@ returning the first one it finds. Is is possible that no family is found in which case a null string is returned.

See also lastResortFont(). -

TQString TQFont::lastResortFont () const +

TQString TQFont::lastResortFont () const

Returns a "last resort" font name for the font matching algorithm. This is used if the last resort family is not available. It will @@ -653,7 +653,7 @@ Returns TRUE if raw mode is used for font name matching; otherwise returns FALSE.

See also setRawMode() and rawName(). -

TQString TQFont::rawName () const +

TQString TQFont::rawName () const

Returns the name of the font within the underlying window system.

On Windows, this is usually just the family name of a TrueType @@ -664,7 +664,7 @@ pattern or an XLFD.

Using the return value of this function is usually not portable.

See also setRawName(). -

void TQFont::removeSubstitution ( const TQString & familyName ) [static] +

void TQFont::removeSubstitution ( const TQString & familyName ) [static]

Removes all the substitutions for familyName.

See also insertSubstitutions(), insertSubstitution(), substitutions(), and substitute(). @@ -685,7 +685,7 @@ Returns a new TQFont that has attributes copied from other. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

Please use TQApplication::setFont() instead. -

void TQFont::setFamily ( const TQString & family ) +

void TQFont::setFamily ( const TQString & family )

Sets the family name of the font. The name is case insensitive and may include a foundry name. @@ -759,7 +759,7 @@ the family name). most (if not all) cases, setRawName() is a much better choice.

See also rawMode() and setRawName(). -

void TQFont::setRawName ( const TQString & name ) +

void TQFont::setRawName ( const TQString & name )

Sets a font by its system specific name. The function is particularly useful under X, where system font settings (for @@ -853,7 +853,7 @@ Returns the StyleStrategy. list of strategies.

See also setStyleHint() and TQFont::StyleHint. -

TQString TQFont::substitute ( const TQString & familyName ) [static] +

TQString TQFont::substitute ( const TQString & familyName ) [static]

Returns the first family name to be used whenever familyName is specified. The lookup is case insensitive. @@ -862,7 +862,7 @@ returned.

To obtain a list of substitutions use substitutes().

See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). -

TQStringList TQFont::substitutes ( const TQString & familyName ) [static] +

TQStringList TQFont::substitutes ( const TQString & familyName ) [static]

Returns a list of family names to be used whenever familyName is specified. The lookup is case insensitive. @@ -871,12 +871,12 @@ returned.

See also substitute(), insertSubstitutions(), insertSubstitution(), and removeSubstitution().

Example: fonts/simple-qfont-demo/viewer.cpp. -

TQStringList TQFont::substitutions () [static] +

TQStringList TQFont::substitutions () [static]

Returns a sorted list of substituted family names.

See also insertSubstitution(), removeSubstitution(), and substitute(). -

TQString TQFont::toString () const +

TQString TQFont::toString () const

Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use -- cgit v1.2.1