summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqfontdatabase.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqfontdatabase.3qt')
-rw-r--r--doc/man/man3/tqfontdatabase.3qt98
1 files changed, 49 insertions, 49 deletions
diff --git a/doc/man/man3/tqfontdatabase.3qt b/doc/man/man3/tqfontdatabase.3qt
index 54df08dbb..c40050b45 100644
--- a/doc/man/man3/tqfontdatabase.3qt
+++ b/doc/man/man3/tqfontdatabase.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QFontDatabase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQFontDatabase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,20 +7,20 @@
.ad l
.nh
.SH NAME
-QFontDatabase \- Information about the fonts available in the underlying window system
+TQFontDatabase \- Information about the fonts available in the underlying window system
.SH SYNOPSIS
-\fC#include <ntqfontdatabase.h>\fR
+\fC#include <tqfontdatabase.h>\fR
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQFontDatabase\fR ()"
+.BI "\fBTQFontDatabase\fR ()"
.br
.ti -1c
.BI "TQStringList \fBfamilies\fR () const"
.br
.ti -1c
-.BI "TQStringList \fBfamilies\fR ( QFont::Script script ) const"
+.BI "TQStringList \fBfamilies\fR ( TQFont::Script script ) const"
.br
.ti -1c
.BI "TQStringList \fBstyles\fR ( const TQString & family ) const"
@@ -32,10 +32,10 @@ QFontDatabase \- Information about the fonts available in the underlying window
.BI "TQValueList<int> \fBsmoothSizes\fR ( const TQString & family, const TQString & style )"
.br
.ti -1c
-.BI "TQString \fBstyleString\fR ( const QFont & f )"
+.BI "TQString \fBstyleString\fR ( const TQFont & f )"
.br
.ti -1c
-.BI "QFont \fBfont\fR ( const TQString & family, const TQString & style, int pointSize )"
+.BI "TQFont \fBfont\fR ( const TQString & family, const TQString & style, int pointSize )"
.br
.ti -1c
.BI "bool \fBisBitmapScalable\fR ( const TQString & family, const TQString & style = TQString::null ) const"
@@ -71,7 +71,7 @@ QFontDatabase \- Information about the fonts available in the underlying window
.BI "TQValueList<int> smoothSizes ( const TQString & family, const TQString & style, const TQString & ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "QFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) \fI(obsolete)\fR"
+.BI "TQFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "bool isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const \fI(obsolete)\fR"
@@ -101,26 +101,26 @@ QFontDatabase \- Information about the fonts available in the underlying window
.BI "TQValueList<int> \fBstandardSizes\fR ()"
.br
.ti -1c
-.BI "TQString \fBscriptName\fR ( QFont::Script script )"
+.BI "TQString \fBscriptName\fR ( TQFont::Script script )"
.br
.ti -1c
-.BI "TQString \fBscriptSample\fR ( QFont::Script script )"
+.BI "TQString \fBscriptSample\fR ( TQFont::Script script )"
.br
.in -1c
.SH DESCRIPTION
-The QFontDatabase class provides information about the fonts available in the underlying window system.
+The TQFontDatabase class provides information about the fonts available in the underlying window system.
.PP
The most common uses of this class are to query the database for the list of font families() and for the pointSizes() and styles() that are available for each family. An alternative to pointSizes() is smoothSizes() which returns the sizes at which a given family and style will look attractive.
.PP
If the font family is available from two or more foundries the foundry name is included in the family name, e.g. "Helvetica [Adobe]" and "Helvetica [Cronyx]". When you specify a family you can either use the old hyphenated TQt 2.x "foundry-family" format, e.g. "Cronyx-Helvetica", or the new bracketed TQt 3.x "family [foundry]" format e.g. "Helvetica [Cronyx]". If the family has a foundry it is always returned, e.g. by families(), using the bracketed format.
.PP
-The font() function returns a QFont given a family, style and point size.
+The font() function returns a TQFont given a family, style and point size.
.PP
A family and style combination can be checked to see if it is italic() or bold(), and to retrieve its weight(). Similarly we can call isBitmapScalable(), isSmoothlyScalable(), isScalable() and isFixedPitch().
.PP
A text version of a style is given by styleString().
.PP
-The QFontDatabase class also supports some static functions, for example, standardSizes(). You can retrieve the Unicode 3.0 description of a script using scriptName(), and a sample of characters in a script with scriptSample().
+The TQFontDatabase class also supports some static functions, for example, standardSizes(). You can retrieve the Unicode 3.0 description of a script using scriptName(), and a sample of characters in a script with scriptSample().
.PP
Example:
.PP
@@ -128,7 +128,7 @@ Example:
.br
#include <ntqapplication.h>
.br
-#include <ntqfontdatabase.h>
+#include <tqfontdatabase.h>
.br
#include <else.h>
.br
@@ -139,7 +139,7 @@ int main( int argc, char **argv )
.br
QApplication app( argc, argv );
.br
- QFontDatabase fdb;
+ TQFontDatabase fdb;
.br
TQStringList families = fdb.families();
.br
@@ -183,21 +183,21 @@ This example gets the list of font families, then the list of styles for each fa
.PP
See also Environment Classes and Graphics Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QFontDatabase::QFontDatabase ()"
+.SH "TQFontDatabase::TQFontDatabase ()"
Creates a font database object.
-.SH "bool QFontDatabase::bold ( const TQString & family, const TQString & style ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 "TQStringList QFontDatabase::families () const"
+.SH "TQStringList TQFontDatabase::families () const"
Returns a sorted list of the names of the available font families.
.PP
If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples:
.)l "Times
[Adobe]", "Times [Cronyx]", "Palatino".
-.SH "TQStringList QFontDatabase::families ( QFont::Script script ) const"
+.SH "TQStringList TQFontDatabase::families ( TQFont::Script script ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a sorted list of the available font families which support the Unicode script \fIscript\fR.
@@ -205,80 +205,80 @@ Returns a sorted list of the available font families which support the Unicode s
If a family exists in several foundries, the returned name for that font is in the form "family [foundry]". Examples:
.)l "Times
[Adobe]", "Times [Cronyx]", "Palatino".
-.SH "TQStringList QFontDatabase::families ( bool ) const"
+.SH "TQStringList TQFontDatabase::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 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 TQString & familyName, const TQString & style, int pointSize, const TQString & )"
+.SH "TQFont TQFontDatabase::font ( const TQString & family, const TQString & style, int pointSize )"
+Returns a TQFont object that has family \fIfamily\fR, style \fIstyle\fR and point size \fIpointSize\fR. If no matching font could be created, a TQFont object that uses the application's default font is returned.
+.SH "TQFont TQFontDatabase::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 TQString & family, const TQString & style = TQString::null ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style = TQString::null ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style = TQString::null ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style = TQString::null ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style ) const"
+.SH "bool TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "bool TQFontDatabase::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 "TQValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null )"
+.SH "TQValueList<int> TQFontDatabase::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 "TQValueList<int> QFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & )"
+.SH "TQValueList<int> TQFontDatabase::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 "TQString QFontDatabase::scriptName ( QFont::Script script )\fC [static]\fR"
+.SH "TQString TQFontDatabase::scriptName ( TQFont::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 "TQString QFontDatabase::scriptSample ( QFont::Script script )\fC [static]\fR"
+See also TQFont::Script.
+.SH "TQString TQFontDatabase::scriptSample ( TQFont::Script script )\fC [static]\fR"
Returns a string with sample characters from \fIscript\fR.
.PP
-See also QFont::Script.
-.SH "TQValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style )"
+See also TQFont::Script.
+.SH "TQValueList<int> TQFontDatabase::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 "TQValueList<int> QFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & )"
+.SH "TQValueList<int> TQFontDatabase::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 "TQValueList<int> QFontDatabase::standardSizes ()\fC [static]\fR"
+.SH "TQValueList<int> TQFontDatabase::standardSizes ()\fC [static]\fR"
Returns a list of standard font sizes.
.PP
See also smoothSizes() and pointSizes().
-.SH "TQString QFontDatabase::styleString ( const QFont & f )"
+.SH "TQString TQFontDatabase::styleString ( const TQFont & 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 "TQStringList QFontDatabase::styles ( const TQString & family ) const"
+.SH "TQStringList TQFontDatabase::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 "TQStringList QFontDatabase::styles ( const TQString & family, const TQString & ) const"
+.SH "TQStringList TQFontDatabase::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 TQString & family, const TQString & style ) const"
+.SH "int TQFontDatabase::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 TQString & family, const TQString & style, const TQString & ) const"
+.SH "int TQFontDatabase::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
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqfontdatabase.html
+.BR http://doc.trolltech.com/tqfontdatabase.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the