diff options
author | Michele Calgaro <[email protected]> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqfont.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/ntqfont.html')
-rw-r--r-- | doc/html/ntqfont.html | 36 |
1 files changed, 18 insertions, 18 deletions
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. <pre> <a href="ntqfontinfo.html">TQFontInfo</a> info( f1 ); - <a href="ntqstring.html">TQString</a> family = info.<a href="ntqfontinfo.html#family">family</a>(); + <a href="tqstring.html">TQString</a> family = info.<a href="ntqfontinfo.html#family">family</a>(); </pre> <p> To find out font metrics use a <a href="ntqfontmetrics.html">TQFontMetrics</a> 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. <p> <p>See also <a href="ntqapplication.html#setFont">TQApplication::setFont</a>() and <a href="ntqapplication.html#font">TQApplication::font</a>(). -<h3 class=fn><a name="TQFont-2"></a>TQFont::TQFont ( const <a href="ntqstring.html">TQString</a> & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) +<h3 class=fn><a name="TQFont-2"></a>TQFont::TQFont ( const <a href="tqstring.html">TQString</a> & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) </h3> Constructs a font object with the specified <em>family</em>, <em>pointSize</em>, <em>weight</em> and <em>italic</em> settings. <p> If <em>pointSize</em> is <= 0 it is set to 1. @@ -486,7 +486,7 @@ Returns the point size in 1/10ths of a point. in pixels. <p> <p>See also <a href="#pointSize">pointSize</a>() and <a href="#pointSizeFloat">pointSizeFloat</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="defaultFamily"></a>TQFont::defaultFamily () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="defaultFamily"></a>TQFont::defaultFamily () const </h3> 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. <p> <p>See also <a href="ntqfontinfo.html">TQFontInfo</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="family"></a>TQFont::family () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="family"></a>TQFont::family () const </h3> 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. <p> <p>See also <a href="#setFixedPitch">setFixedPitch</a>() and <a href="ntqfontinfo.html#fixedPitch">TQFontInfo::fixedPitch</a>(). -<h3 class=fn>bool <a name="fromString"></a>TQFont::fromString ( const <a href="ntqstring.html">TQString</a> & descrip ) +<h3 class=fn>bool <a name="fromString"></a>TQFont::fromString ( const <a href="tqstring.html">TQString</a> & descrip ) </h3> Sets this font to match the description <em>descrip</em>. 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 <em>not</em> portable. -<h3 class=fn>void <a name="insertSubstitution"></a>TQFont::insertSubstitution ( const <a href="ntqstring.html">TQString</a> & familyName, const <a href="ntqstring.html">TQString</a> & substituteName )<tt> [static]</tt> +<h3 class=fn>void <a name="insertSubstitution"></a>TQFont::insertSubstitution ( const <a href="tqstring.html">TQString</a> & familyName, const <a href="tqstring.html">TQString</a> & substituteName )<tt> [static]</tt> </h3> Inserts the family name <em>substituteName</em> into the substitution table for <em>familyName</em>. <p> <p>See also <a href="#insertSubstitutions">insertSubstitutions</a>(), <a href="#removeSubstitution">removeSubstitution</a>(), <a href="#substitutions">substitutions</a>(), <a href="#substitute">substitute</a>(), and <a href="#substitutes">substitutes</a>(). <p>Example: <a href="simple-font-demo-example.html#x2839">fonts/simple-qfont-demo/viewer.cpp</a>. -<h3 class=fn>void <a name="insertSubstitutions"></a>TQFont::insertSubstitutions ( const <a href="ntqstring.html">TQString</a> & familyName, const <a href="ntqstringlist.html">TQStringList</a> & substituteNames )<tt> [static]</tt> +<h3 class=fn>void <a name="insertSubstitutions"></a>TQFont::insertSubstitutions ( const <a href="tqstring.html">TQString</a> & familyName, const <a href="tqstringlist.html">TQStringList</a> & substituteNames )<tt> [static]</tt> </h3> Inserts the list of families <em>substituteNames</em> into the substitution list for <em>familyName</em>. @@ -558,13 +558,13 @@ Returns TRUE if italic has been set; otherwise returns FALSE. <p> <p>See also <a href="#setItalic">setItalic</a>(). <p>Example: <a href="tutorial2-09.html#x2636">chart/optionsform.cpp</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="key"></a>TQFont::key () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="key"></a>TQFont::key () const </h3> 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. <p> <p>See also <a href="tqmap.html">TQMap</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="lastResortFamily"></a>TQFont::lastResortFamily () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="lastResortFamily"></a>TQFont::lastResortFamily () const </h3> Returns the "last resort" font family name. <p> 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. <p> <p>See also <a href="#lastResortFont">lastResortFont</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="lastResortFont"></a>TQFont::lastResortFont () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="lastResortFont"></a>TQFont::lastResortFont () const </h3> 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. <p> <p>See also <a href="#setRawMode">setRawMode</a>() and <a href="#rawName">rawName</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="rawName"></a>TQFont::rawName () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="rawName"></a>TQFont::rawName () const </h3> Returns the name of the font within the underlying window system. <p> On Windows, this is usually just the family name of a TrueType @@ -664,7 +664,7 @@ pattern or an XLFD. <p> Using the return value of this function is usually <em>not</em> <em>portable</em>. <p> <p>See also <a href="#setRawName">setRawName</a>(). -<h3 class=fn>void <a name="removeSubstitution"></a>TQFont::removeSubstitution ( const <a href="ntqstring.html">TQString</a> & familyName )<tt> [static]</tt> +<h3 class=fn>void <a name="removeSubstitution"></a>TQFont::removeSubstitution ( const <a href="tqstring.html">TQString</a> & familyName )<tt> [static]</tt> </h3> Removes all the substitutions for <em>familyName</em>. <p> <p>See also <a href="#insertSubstitutions">insertSubstitutions</a>(), <a href="#insertSubstitution">insertSubstitution</a>(), <a href="#substitutions">substitutions</a>(), and <a href="#substitute">substitute</a>(). @@ -685,7 +685,7 @@ Returns a new TQFont that has attributes copied from <em>other</em>. </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Please use <a href="ntqapplication.html#setFont">TQApplication::setFont</a>() instead. -<h3 class=fn>void <a name="setFamily"></a>TQFont::setFamily ( const <a href="ntqstring.html">TQString</a> & family ) +<h3 class=fn>void <a name="setFamily"></a>TQFont::setFamily ( const <a href="tqstring.html">TQString</a> & family ) </h3> 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, <a href="#setRawName">setRawName</a>() is a much better choice. <p> <p>See also <a href="#rawMode">rawMode</a>() and <a href="#setRawName">setRawName</a>(). -<h3 class=fn>void <a name="setRawName"></a>TQFont::setRawName ( const <a href="ntqstring.html">TQString</a> & name ) +<h3 class=fn>void <a name="setRawName"></a>TQFont::setRawName ( const <a href="tqstring.html">TQString</a> & name ) </h3> 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. <p> <p>See also <a href="#setStyleHint">setStyleHint</a>() and <a href="#StyleHint-enum">TQFont::StyleHint</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="substitute"></a>TQFont::substitute ( const <a href="ntqstring.html">TQString</a> & familyName )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="substitute"></a>TQFont::substitute ( const <a href="tqstring.html">TQString</a> & familyName )<tt> [static]</tt> </h3> Returns the first family name to be used whenever <em>familyName</em> is specified. The lookup is case insensitive. @@ -862,7 +862,7 @@ returned. <p> To obtain a list of substitutions use <a href="#substitutes">substitutes</a>(). <p> <p>See also <a href="#setFamily">setFamily</a>(), <a href="#insertSubstitutions">insertSubstitutions</a>(), <a href="#insertSubstitution">insertSubstitution</a>(), and <a href="#removeSubstitution">removeSubstitution</a>(). -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="substitutes"></a>TQFont::substitutes ( const <a href="ntqstring.html">TQString</a> & familyName )<tt> [static]</tt> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="substitutes"></a>TQFont::substitutes ( const <a href="tqstring.html">TQString</a> & familyName )<tt> [static]</tt> </h3> Returns a list of family names to be used whenever <em>familyName</em> is specified. The lookup is case insensitive. @@ -871,12 +871,12 @@ returned. <p> <p>See also <a href="#substitute">substitute</a>(), <a href="#insertSubstitutions">insertSubstitutions</a>(), <a href="#insertSubstitution">insertSubstitution</a>(), and <a href="#removeSubstitution">removeSubstitution</a>(). <p>Example: <a href="simple-font-demo-example.html#x2847">fonts/simple-qfont-demo/viewer.cpp</a>. -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="substitutions"></a>TQFont::substitutions ()<tt> [static]</tt> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="substitutions"></a>TQFont::substitutions ()<tt> [static]</tt> </h3> Returns a sorted list of substituted family names. <p> <p>See also <a href="#insertSubstitution">insertSubstitution</a>(), <a href="#removeSubstitution">removeSubstitution</a>(), and <a href="#substitute">substitute</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="toString"></a>TQFont::toString () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="toString"></a>TQFont::toString () const </h3> Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use |