diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/html/ntqfontdatabase.html | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt-e6077c30.tar.gz tqt-e6077c30.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqfontdatabase.html')
-rw-r--r-- | doc/html/ntqfontdatabase.html | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/html/ntqfontdatabase.html b/doc/html/ntqfontdatabase.html index 5b7115cb8..c26ca493a 100644 --- a/doc/html/ntqfontdatabase.html +++ b/doc/html/ntqfontdatabase.html @@ -112,20 +112,20 @@ int main( int argc, char **argv ) { <a href="ntqapplication.html">TQApplication</a> app( argc, argv ); TQFontDatabase fdb; - <a href="ntqstringlist.html">TQStringList</a> families = fdb.<a href="#families">families</a>(); + <a href="tqstringlist.html">TQStringList</a> families = fdb.<a href="#families">families</a>(); for ( TQStringList::Iterator f = families.<a href="tqvaluelist.html#begin">begin</a>(); f != families.<a href="tqvaluelist.html#end">end</a>(); ++f ) { - <a href="ntqstring.html">TQString</a> family = *f; + <a href="tqstring.html">TQString</a> family = *f; <a href="ntqapplication.html#qDebug">tqDebug</a>( family ); - <a href="ntqstringlist.html">TQStringList</a> styles = fdb.<a href="#styles">styles</a>( family ); + <a href="tqstringlist.html">TQStringList</a> styles = fdb.<a href="#styles">styles</a>( family ); for ( TQStringList::Iterator s = styles.<a href="tqvaluelist.html#begin">begin</a>(); s != styles.<a href="tqvaluelist.html#end">end</a>(); ++s ) { - <a href="ntqstring.html">TQString</a> style = *s; - <a href="ntqstring.html">TQString</a> dstyle = "\t" + style + " ("; + <a href="tqstring.html">TQString</a> style = *s; + <a href="tqstring.html">TQString</a> dstyle = "\t" + style + " ("; <a href="tqvaluelist.html">TQValueList</a><int> smoothies = fdb.<a href="#smoothSizes">smoothSizes</a>( family, style ); for ( TQValueList<int>::Iterator points = smoothies.<a href="tqvaluelist.html#begin">begin</a>(); points != smoothies.<a href="tqvaluelist.html#end">end</a>(); ++points ) { - dstyle += TQString::<a href="ntqstring.html#number">number</a>( *points ) + " "; + dstyle += TQString::<a href="tqstring.html#number">number</a>( *points ) + " "; } - dstyle = dstyle.<a href="ntqstring.html#left">left</a>( dstyle.<a href="ntqstring.html#length">length</a>() - 1 ) + ")"; + dstyle = dstyle.<a href="tqstring.html#left">left</a>( dstyle.<a href="tqstring.html#length">length</a>() - 1 ) + ")"; <a href="ntqapplication.html#qDebug">tqDebug</a>( dstyle ); } } @@ -143,23 +143,23 @@ each family/style combination. </h3> Creates a font database object. -<h3 class=fn>bool <a name="bold"></a>TQFontDatabase::bold ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style ) const +<h3 class=fn>bool <a name="bold"></a>TQFontDatabase::bold ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is bold; otherwise returns FALSE. <p> <p>See also <a href="#italic">italic</a>() and <a href="#weight">weight</a>(). -<h3 class=fn>bool <a name="bold-2"></a>TQFontDatabase::bold ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="bold-2"></a>TQFontDatabase::bold ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="families"></a>TQFontDatabase::families () const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="families"></a>TQFontDatabase::families () const </h3> Returns a sorted list of the names of the available font families. <p> If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples: "Times [Adobe]", "Times [Cronyx]", "Palatino". -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="families-2"></a>TQFontDatabase::families ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script ) const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="families-2"></a>TQFontDatabase::families ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns a sorted list of the available font families which support @@ -168,24 +168,24 @@ the Unicode script <em>script</em>. that font is in the form "family [foundry]". Examples: "Times [Adobe]", "Times [Cronyx]", "Palatino". -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="families-3"></a>TQFontDatabase::families ( bool ) const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="families-3"></a>TQFontDatabase::families ( bool ) const </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> -<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font"></a>TQFontDatabase::font ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, int pointSize ) +<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font"></a>TQFontDatabase::font ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, int pointSize ) </h3> Returns a <a href="ntqfont.html">TQFont</a> object that has family <em>family</em>, style <em>style</em> and point size <em>pointSize</em>. If no matching font could be created, a TQFont object that uses the application's default font is returned. -<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font-2"></a>TQFontDatabase::font ( const <a href="ntqstring.html">TQString</a> & familyName, const <a href="ntqstring.html">TQString</a> & style, int pointSize, const <a href="ntqstring.html">TQString</a> & ) +<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font-2"></a>TQFontDatabase::font ( const <a href="tqstring.html">TQString</a> & familyName, const <a href="tqstring.html">TQString</a> & style, int pointSize, const <a href="tqstring.html">TQString</a> & ) </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> -<h3 class=fn>bool <a name="isBitmapScalable"></a>TQFontDatabase::isBitmapScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style = TQString::null ) const +<h3 class=fn>bool <a name="isBitmapScalable"></a>TQFontDatabase::isBitmapScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style = TQString::null ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is a scalable bitmap font; otherwise returns FALSE. Scaling a bitmap font usually produces an unattractive hardly readable @@ -194,76 +194,76 @@ scale a bitmap font it is better to scale it to one of the fixed sizes returned by <a href="#smoothSizes">smoothSizes</a>(). <p> <p>See also <a href="#isScalable">isScalable</a>() and <a href="#isSmoothlyScalable">isSmoothlyScalable</a>(). -<h3 class=fn>bool <a name="isBitmapScalable-2"></a>TQFontDatabase::isBitmapScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="isBitmapScalable-2"></a>TQFontDatabase::isBitmapScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn>bool <a name="isFixedPitch"></a>TQFontDatabase::isFixedPitch ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style = TQString::null ) const +<h3 class=fn>bool <a name="isFixedPitch"></a>TQFontDatabase::isFixedPitch ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style = TQString::null ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is fixed pitch; otherwise returns FALSE. -<h3 class=fn>bool <a name="isFixedPitch-2"></a>TQFontDatabase::isFixedPitch ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="isFixedPitch-2"></a>TQFontDatabase::isFixedPitch ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn>bool <a name="isScalable"></a>TQFontDatabase::isScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style = TQString::null ) const +<h3 class=fn>bool <a name="isScalable"></a>TQFontDatabase::isScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style = TQString::null ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is scalable; otherwise returns FALSE. <p> <p>See also <a href="#isBitmapScalable">isBitmapScalable</a>() and <a href="#isSmoothlyScalable">isSmoothlyScalable</a>(). -<h3 class=fn>bool <a name="isScalable-2"></a>TQFontDatabase::isScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="isScalable-2"></a>TQFontDatabase::isScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn>bool <a name="isSmoothlyScalable"></a>TQFontDatabase::isSmoothlyScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style = TQString::null ) const +<h3 class=fn>bool <a name="isSmoothlyScalable"></a>TQFontDatabase::isSmoothlyScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style = TQString::null ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is smoothly scalable; otherwise returns FALSE. If this function returns TRUE, it's safe to scale this font to any size, and the result will always look attractive. <p> <p>See also <a href="#isScalable">isScalable</a>() and <a href="#isBitmapScalable">isBitmapScalable</a>(). -<h3 class=fn>bool <a name="isSmoothlyScalable-2"></a>TQFontDatabase::isSmoothlyScalable ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="isSmoothlyScalable-2"></a>TQFontDatabase::isSmoothlyScalable ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn>bool <a name="italic"></a>TQFontDatabase::italic ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style ) const +<h3 class=fn>bool <a name="italic"></a>TQFontDatabase::italic ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style ) const </h3> Returns TRUE if the font that has family <em>family</em> and style <em>style</em> is italic; otherwise returns FALSE. <p> <p>See also <a href="#weight">weight</a>() and <a href="#bold">bold</a>(). -<h3 class=fn>bool <a name="italic-2"></a>TQFontDatabase::italic ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>bool <a name="italic-2"></a>TQFontDatabase::italic ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="pointSizes"></a>TQFontDatabase::pointSizes ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style = TQString::null ) +<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="pointSizes"></a>TQFontDatabase::pointSizes ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style = TQString::null ) </h3> Returns a list of the point sizes available for the font that has family <em>family</em> and style <em>style</em>. The list may be empty. <p> <p>See also <a href="#smoothSizes">smoothSizes</a>() and <a href="#standardSizes">standardSizes</a>(). -<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="pointSizes-2"></a>TQFontDatabase::pointSizes ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) +<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="pointSizes-2"></a>TQFontDatabase::pointSizes ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) </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> -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="scriptName"></a>TQFontDatabase::scriptName ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="scriptName"></a>TQFontDatabase::scriptName ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script )<tt> [static]</tt> </h3> Returns a string that gives a default description of the <em>script</em> (e.g. for displaying to the user in a dialog). The name matches the name of the script as defined by the Unicode 3.0 standard. <p> <p>See also <a href="ntqfont.html#Script-enum">TQFont::Script</a>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="scriptSample"></a>TQFontDatabase::scriptSample ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="scriptSample"></a>TQFontDatabase::scriptSample ( <a href="ntqfont.html#Script-enum">TQFont::Script</a> script )<tt> [static]</tt> </h3> Returns a string with sample characters from <em>script</em>. <p> <p>See also <a href="ntqfont.html#Script-enum">TQFont::Script</a>. -<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="smoothSizes"></a>TQFontDatabase::smoothSizes ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style ) +<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="smoothSizes"></a>TQFontDatabase::smoothSizes ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style ) </h3> Returns the point sizes of a font that has family <em>family</em> and style <em>style</em> that will look attractive. The list may be empty. @@ -271,7 +271,7 @@ For non-scalable fonts and bitmap scalable fonts, this function is equivalent to <a href="#pointSizes">pointSizes</a>(). <p> <p>See also <a href="#pointSizes">pointSizes</a>() and <a href="#standardSizes">standardSizes</a>(). -<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="smoothSizes-2"></a>TQFontDatabase::smoothSizes ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) +<h3 class=fn><a href="tqvaluelist.html">TQValueList</a><int> <a name="smoothSizes-2"></a>TQFontDatabase::smoothSizes ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) </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> @@ -281,30 +281,30 @@ is equivalent to <a href="#pointSizes">pointSizes</a>(). Returns a list of standard font sizes. <p> <p>See also <a href="#smoothSizes">smoothSizes</a>() and <a href="#pointSizes">pointSizes</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="styleString"></a>TQFontDatabase::styleString ( const <a href="ntqfont.html">TQFont</a> & f ) +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="styleString"></a>TQFontDatabase::styleString ( const <a href="ntqfont.html">TQFont</a> & f ) </h3> Returns a string that describes the style of the font <em>f</em>. For example, "Bold Italic", "Bold", "Italic" or "Normal". An empty string may be returned. -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="styles"></a>TQFontDatabase::styles ( const <a href="ntqstring.html">TQString</a> & family ) const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="styles"></a>TQFontDatabase::styles ( const <a href="tqstring.html">TQString</a> & family ) const </h3> Returns a list of the styles available for the font family <em>family</em>. Some example styles: "Light", "Light Italic", "Bold", "Oblique", "Demi". The list may be empty. -<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="styles-2"></a>TQFontDatabase::styles ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="styles-2"></a>TQFontDatabase::styles ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & ) const </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> -<h3 class=fn>int <a name="weight"></a>TQFontDatabase::weight ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style ) const +<h3 class=fn>int <a name="weight"></a>TQFontDatabase::weight ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style ) const </h3> Returns the weight of the font that has family <em>family</em> and style <em>style</em>. If there is no such family and style combination, returns -1. <p> <p>See also <a href="#italic">italic</a>() and <a href="#bold">bold</a>(). -<h3 class=fn>int <a name="weight-2"></a>TQFontDatabase::weight ( const <a href="ntqstring.html">TQString</a> & family, const <a href="ntqstring.html">TQString</a> & style, const <a href="ntqstring.html">TQString</a> & ) const +<h3 class=fn>int <a name="weight-2"></a>TQFontDatabase::weight ( const <a href="tqstring.html">TQString</a> & family, const <a href="tqstring.html">TQString</a> & style, const <a href="tqstring.html">TQString</a> & ) const </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> |