diff options
author | Michele Calgaro <[email protected]> | 2023-09-23 12:42:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-23 12:42:20 +0900 |
commit | b35e0845dc9b3c8b9a5e52a682c769f383933fae (patch) | |
tree | e4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqfontdatabase.3qt | |
parent | 1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff) | |
download | tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz tqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqfontdatabase.3qt')
-rw-r--r-- | doc/man/man3/tqfontdatabase.3qt | 108 |
1 files changed, 54 insertions, 54 deletions
diff --git a/doc/man/man3/tqfontdatabase.3qt b/doc/man/man3/tqfontdatabase.3qt index c6872f4a2..f0996c801 100644 --- a/doc/man/man3/tqfontdatabase.3qt +++ b/doc/man/man3/tqfontdatabase.3qt @@ -23,76 +23,76 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "QStringList \fBfamilies\fR ( QFont::Script script ) const" .br .ti -1c -.BI "QStringList \fBstyles\fR ( const QString & family ) const" +.BI "QStringList \fBstyles\fR ( const TQString & family ) const" .br .ti -1c -.BI "QValueList<int> \fBpointSizes\fR ( const QString & family, const QString & style = QString::null )" +.BI "QValueList<int> \fBpointSizes\fR ( const TQString & family, const TQString & style = TQString::null )" .br .ti -1c -.BI "QValueList<int> \fBsmoothSizes\fR ( const QString & family, const QString & style )" +.BI "QValueList<int> \fBsmoothSizes\fR ( const TQString & family, const TQString & style )" .br .ti -1c -.BI "QString \fBstyleString\fR ( const QFont & f )" +.BI "TQString \fBstyleString\fR ( const QFont & f )" .br .ti -1c -.BI "QFont \fBfont\fR ( const QString & family, const QString & style, int pointSize )" +.BI "QFont \fBfont\fR ( const TQString & family, const TQString & style, int pointSize )" .br .ti -1c -.BI "bool \fBisBitmapScalable\fR ( const QString & family, const QString & style = QString::null ) const" +.BI "bool \fBisBitmapScalable\fR ( const TQString & family, const TQString & style = TQString::null ) const" .br .ti -1c -.BI "bool \fBisSmoothlyScalable\fR ( const QString & family, const QString & style = QString::null ) const" +.BI "bool \fBisSmoothlyScalable\fR ( const TQString & family, const TQString & style = TQString::null ) const" .br .ti -1c -.BI "bool \fBisScalable\fR ( const QString & family, const QString & style = QString::null ) const" +.BI "bool \fBisScalable\fR ( const TQString & family, const TQString & style = TQString::null ) const" .br .ti -1c -.BI "bool \fBisFixedPitch\fR ( const QString & family, const QString & style = QString::null ) const" +.BI "bool \fBisFixedPitch\fR ( const TQString & family, const TQString & style = TQString::null ) const" .br .ti -1c -.BI "bool \fBitalic\fR ( const QString & family, const QString & style ) const" +.BI "bool \fBitalic\fR ( const TQString & family, const TQString & style ) const" .br .ti -1c -.BI "bool \fBbold\fR ( const QString & family, const QString & style ) const" +.BI "bool \fBbold\fR ( const TQString & family, const TQString & style ) const" .br .ti -1c -.BI "int \fBweight\fR ( const QString & family, const QString & style ) const" +.BI "int \fBweight\fR ( const TQString & family, const TQString & style ) const" .br .ti -1c .BI "QStringList families ( bool ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QStringList styles ( const QString & family, const QString & ) const \fI(obsolete)\fR" +.BI "QStringList styles ( const TQString & family, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "QValueList<int> pointSizes ( const QString & family, const QString & style, const QString & ) \fI(obsolete)\fR" +.BI "QValueList<int> pointSizes ( const TQString & family, const TQString & style, const TQString & ) \fI(obsolete)\fR" .br .ti -1c -.BI "QValueList<int> smoothSizes ( const QString & family, const QString & style, const QString & ) \fI(obsolete)\fR" +.BI "QValueList<int> smoothSizes ( const TQString & family, const TQString & style, const TQString & ) \fI(obsolete)\fR" .br .ti -1c -.BI "QFont font ( const QString & familyName, const QString & style, int pointSize, const QString & ) \fI(obsolete)\fR" +.BI "QFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) \fI(obsolete)\fR" .br .ti -1c -.BI "bool isBitmapScalable ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "bool isSmoothlyScalable ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "bool isScalable ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool isScalable ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "bool isFixedPitch ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "bool italic ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool italic ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "bool bold ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "bool bold ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .ti -1c -.BI "int weight ( const QString & family, const QString & style, const QString & ) const \fI(obsolete)\fR" +.BI "int weight ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR" .br .in -1c .SS "Static Public Members" @@ -101,10 +101,10 @@ QFontDatabase \- Information about the fonts available in the underlying window .BI "QValueList<int> \fBstandardSizes\fR ()" .br .ti -1c -.BI "QString \fBscriptName\fR ( QFont::Script script )" +.BI "TQString \fBscriptName\fR ( QFont::Script script )" .br .ti -1c -.BI "QString \fBscriptSample\fR ( QFont::Script script )" +.BI "TQString \fBscriptSample\fR ( QFont::Script script )" .br .in -1c .SH DESCRIPTION @@ -145,7 +145,7 @@ int main( int argc, char **argv ) .br for ( QStringList::Iterator f = families.begin(); f != families.end(); ++f ) { .br - QString family = *f; + TQString family = *f; .br tqDebug( family ); .br @@ -153,9 +153,9 @@ int main( int argc, char **argv ) .br for ( QStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) { .br - QString style = *s; + TQString style = *s; .br - QString dstyle = "\\t" + style + " ("; + TQString dstyle = "\\t" + style + " ("; .br QValueList<int> smoothies = fdb.smoothSizes( family, style ); .br @@ -163,7 +163,7 @@ int main( int argc, char **argv ) .br points != smoothies.end(); ++points ) { .br - dstyle += QString::number( *points ) + " "; + dstyle += TQString::number( *points ) + " "; .br } .br @@ -185,11 +185,11 @@ See also Environment Classes and Graphics Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QFontDatabase::QFontDatabase ()" Creates a font database object. -.SH "bool QFontDatabase::bold ( const QString & family, const QString & style ) const" +.SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is bold; otherwise returns FALSE. .PP See also italic() and weight(). -.SH "bool QFontDatabase::bold ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "QStringList QFontDatabase::families () const" Returns a sorted list of the names of the available font families. @@ -207,73 +207,73 @@ If a family exists in several foundries, the returned name for that font is in t [Adobe]", "Times [Cronyx]", "Palatino". .SH "QStringList QFontDatabase::families ( bool ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QFont QFontDatabase::font ( const QString & family, const QString & style, int pointSize )" +.SH "QFont QFontDatabase::font ( const TQString & family, const TQString & style, int pointSize )" Returns a QFont object that has family \fIfamily\fR, style \fIstyle\fR and point size \fIpointSize\fR. If no matching font could be created, a QFont object that uses the application's default font is returned. -.SH "QFont QFontDatabase::font ( const QString & familyName, const QString & style, int pointSize, const QString & )" +.SH "QFont QFontDatabase::font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isBitmapScalable ( const QString & family, const QString & style = QString::null ) const" +.SH "bool QFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is a scalable bitmap font; otherwise returns FALSE. Scaling a bitmap font usually produces an unattractive hardly readable result, because the pixels of the font are scaled. If you need to scale a bitmap font it is better to scale it to one of the fixed sizes returned by smoothSizes(). .PP See also isScalable() and isSmoothlyScalable(). -.SH "bool QFontDatabase::isBitmapScalable ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isFixedPitch ( const QString & family, const QString & style = QString::null ) const" +.SH "bool QFontDatabase::isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is fixed pitch; otherwise returns FALSE. -.SH "bool QFontDatabase::isFixedPitch ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isScalable ( const QString & family, const QString & style = QString::null ) const" +.SH "bool QFontDatabase::isScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is scalable; otherwise returns FALSE. .PP See also isBitmapScalable() and isSmoothlyScalable(). -.SH "bool QFontDatabase::isScalable ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::isScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::isSmoothlyScalable ( const QString & family, const QString & style = QString::null ) const" +.SH "bool QFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR 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. .PP See also isScalable() and isBitmapScalable(). -.SH "bool QFontDatabase::isSmoothlyScalable ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QFontDatabase::italic ( const QString & family, const QString & style ) const" +.SH "bool QFontDatabase::italic ( const TQString & family, const TQString & style ) const" Returns TRUE if the font that has family \fIfamily\fR and style \fIstyle\fR is italic; otherwise returns FALSE. .PP See also weight() and bold(). -.SH "bool QFontDatabase::italic ( const QString & family, const QString & style, const QString & ) const" +.SH "bool QFontDatabase::italic ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QValueList<int> QFontDatabase::pointSizes ( const QString & family, const QString & style = QString::null )" +.SH "QValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null )" Returns a list of the point sizes available for the font that has family \fIfamily\fR and style \fIstyle\fR. The list may be empty. .PP See also smoothSizes() and standardSizes(). -.SH "QValueList<int> QFontDatabase::pointSizes ( const QString & family, const QString & style, const QString & )" +.SH "QValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QString QFontDatabase::scriptName ( QFont::Script script )\fC [static]\fR" +.SH "TQString QFontDatabase::scriptName ( QFont::Script script )\fC [static]\fR" Returns a string that gives a default description of the \fIscript\fR (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. .PP See also QFont::Script. -.SH "QString QFontDatabase::scriptSample ( QFont::Script script )\fC [static]\fR" +.SH "TQString QFontDatabase::scriptSample ( QFont::Script script )\fC [static]\fR" Returns a string with sample characters from \fIscript\fR. .PP See also QFont::Script. -.SH "QValueList<int> QFontDatabase::smoothSizes ( const QString & family, const QString & style )" +.SH "QValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style )" Returns the point sizes of a font that has family \fIfamily\fR and style \fIstyle\fR that will look attractive. The list may be empty. For non-scalable fonts and bitmap scalable fonts, this function is equivalent to pointSizes(). .PP See also pointSizes() and standardSizes(). -.SH "QValueList<int> QFontDatabase::smoothSizes ( const QString & family, const QString & style, const QString & )" +.SH "QValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .SH "QValueList<int> QFontDatabase::standardSizes ()\fC [static]\fR" Returns a list of standard font sizes. .PP See also smoothSizes() and pointSizes(). -.SH "QString QFontDatabase::styleString ( const QFont & f )" +.SH "TQString QFontDatabase::styleString ( const QFont & f )" Returns a string that describes the style of the font \fIf\fR. For example, "Bold Italic", "Bold", "Italic" or "Normal". An empty string may be returned. -.SH "QStringList QFontDatabase::styles ( const QString & family ) const" +.SH "QStringList QFontDatabase::styles ( const TQString & family ) const" Returns a list of the styles available for the font family \fIfamily\fR. Some example styles: "Light", "Light Italic", "Bold"," Oblique", "Demi". The list may be empty. -.SH "QStringList QFontDatabase::styles ( const QString & family, const QString & ) const" +.SH "QStringList QFontDatabase::styles ( const TQString & family, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "int QFontDatabase::weight ( const QString & family, const QString & style ) const" +.SH "int QFontDatabase::weight ( const TQString & family, const TQString & style ) const" Returns the weight of the font that has family \fIfamily\fR and style \fIstyle\fR. If there is no such family and style combination, returns -1. .PP See also italic() and bold(). -.SH "int QFontDatabase::weight ( const QString & family, const QString & style, const QString & ) const" +.SH "int QFontDatabase::weight ( const TQString & family, const TQString & style, const TQString & ) const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP |