diff options
Diffstat (limited to 'doc/man/man3/tqfont.3qt')
-rw-r--r-- | doc/man/man3/tqfont.3qt | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/man/man3/tqfont.3qt b/doc/man/man3/tqfont.3qt index ba9369fee..da524875e 100644 --- a/doc/man/man3/tqfont.3qt +++ b/doc/man/man3/tqfont.3qt @@ -29,7 +29,7 @@ QFont \- Font used for drawing text .BI "\fBQFont\fR ()" .br .ti -1c -.BI "\fBQFont\fR ( const QString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" +.BI "\fBQFont\fR ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" .br .ti -1c .BI "\fBQFont\fR ( const QFont & font )" @@ -38,10 +38,10 @@ QFont \- Font used for drawing text .BI "\fB~QFont\fR ()" .br .ti -1c -.BI "QString \fBfamily\fR () const" +.BI "TQString \fBfamily\fR () const" .br .ti -1c -.BI "void \fBsetFamily\fR ( const QString & family )" +.BI "void \fBsetFamily\fR ( const TQString & family )" .br .ti -1c .BI "int \fBpointSize\fR () const" @@ -149,19 +149,19 @@ QFont \- Font used for drawing text .BI "HFONT \fBhandle\fR () const" .br .ti -1c -.BI "void \fBsetRawName\fR ( const QString & name )" +.BI "void \fBsetRawName\fR ( const TQString & name )" .br .ti -1c -.BI "QString \fBrawName\fR () const" +.BI "TQString \fBrawName\fR () const" .br .ti -1c -.BI "QString \fBkey\fR () const" +.BI "TQString \fBkey\fR () const" .br .ti -1c -.BI "QString \fBtoString\fR () const" +.BI "TQString \fBtoString\fR () const" .br .ti -1c -.BI "bool \fBfromString\fR ( const QString & descrip )" +.BI "bool \fBfromString\fR ( const TQString & descrip )" .br .ti -1c .BI "void \fBqwsRenderToDisk\fR ( bool all = TRUE )" @@ -170,13 +170,13 @@ QFont \- Font used for drawing text .BI "enum \fBScript\fR { Latin, Greek, Cyrillic, Armenian, Georgian, Runic, Ogham, SpacingModifiers, CombiningMarks, Hebrew, Arabic, Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer, Han, Hiragana, Katakana, Hangul, Bopomofo, Yi, Ethiopic, Cherokee, CanadianAboriginal, Mongolian, CurrencySymbols, LetterlikeSymbols, NumberForms, MathematicalOperators, TechnicalSymbols, GeometricSymbols, MiscellaneousSymbols, EnclosedAndSquare, Braille, Unicode, Tagalog, Hanunoo, Buhid, Tagbanwa, KatakanaHalfWidth, Limbu, TaiLe }" .br .ti -1c -.BI "QString \fBdefaultFamily\fR () const" +.BI "TQString \fBdefaultFamily\fR () const" .br .ti -1c -.BI "QString \fBlastResortFamily\fR () const" +.BI "TQString \fBlastResortFamily\fR () const" .br .ti -1c -.BI "QString \fBlastResortFont\fR () const" +.BI "TQString \fBlastResortFont\fR () const" .br .ti -1c .BI "QFont \fBresolve\fR ( const QFont & other ) const" @@ -185,22 +185,22 @@ QFont \- Font used for drawing text .SS "Static Public Members" .in +1c .ti -1c -.BI "QString \fBsubstitute\fR ( const QString & familyName )" +.BI "TQString \fBsubstitute\fR ( const TQString & familyName )" .br .ti -1c -.BI "QStringList \fBsubstitutes\fR ( const QString & familyName )" +.BI "QStringList \fBsubstitutes\fR ( const TQString & familyName )" .br .ti -1c .BI "QStringList \fBsubstitutions\fR ()" .br .ti -1c -.BI "void \fBinsertSubstitution\fR ( const QString & familyName, const QString & substituteName )" +.BI "void \fBinsertSubstitution\fR ( const TQString & familyName, const TQString & substituteName )" .br .ti -1c -.BI "void \fBinsertSubstitutions\fR ( const QString & familyName, const QStringList & substituteNames )" +.BI "void \fBinsertSubstitutions\fR ( const TQString & familyName, const QStringList & substituteNames )" .br .ti -1c -.BI "void \fBremoveSubstitution\fR ( const QString & familyName )" +.BI "void \fBremoveSubstitution\fR ( const TQString & familyName )" .br .ti -1c .BI "QFont defaultFont () \fI(obsolete)\fR" @@ -315,7 +315,7 @@ To determine the attributes of the font actually used in the window system, use .br QFontInfo info( f1 ); .br - QString family = info.family(); + TQString family = info.family(); .br .fi .PP @@ -333,7 +333,7 @@ To find out font metrics use a QFontMetrics object, e.g. .PP For more general information on fonts, see the comp.fonts FAQ. Information on encodings can be found from Roman Czyborra's page. .PP -See also QFontMetrics, QFontInfo, QFontDatabase, QApplication::setFont(), QWidget::font, QPainter::setFont(), QFont::StyleHint, QFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. +See also QFontMetrics, QFontInfo, QFontDatabase, QApplication::setFont(), TQWidget::font, QPainter::setFont(), QFont::StyleHint, QFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" .SH "QFont::Script" This enum represents Unicode allocated scripts. For exhaustive coverage see The Unicode Standard Version 3.0. The following scripts are supported: @@ -548,7 +548,7 @@ This enum contains the predefined font weights: Constructs a font object that uses the application's default font. .PP See also QApplication::setFont() and QApplication::font(). -.SH "QFont::QFont ( const QString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" +.SH "QFont::QFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )" Constructs a font object with the specified \fIfamily\fR, \fIpointSize\fR, \fIweight\fR and \fIitalic\fR settings. .PP If \fIpointSize\fR is <= 0 it is set to 1. @@ -572,7 +572,7 @@ Returns the point size in 1/10ths of a point. The returned value will be -1 if the font size has been specified in pixels. .PP See also pointSize() and pointSizeFloat(). -.SH "QString QFont::defaultFamily () const" +.SH "TQString QFont::defaultFamily () const" Returns the family name that corresponds to the current style hint. .PP See also StyleHint, styleHint(), and setStyleHint(). @@ -586,7 +586,7 @@ Returns TRUE if the font attributes have been changed and the font has to be (re Returns TRUE if a window system font exactly matching the settings of this font is available. .PP See also QFontInfo. -.SH "QString QFont::family () const" +.SH "TQString QFont::family () const" Returns the requested font family name, i.e. the name set in the constructor or the last setFont() call. .PP See also setFamily(), substitutes(), and substitute(). @@ -597,19 +597,19 @@ Examples: Returns TRUE if fixed pitch has been set; otherwise returns FALSE. .PP See also setFixedPitch() and QFontInfo::fixedPitch(). -.SH "bool QFont::fromString ( const QString & descrip )" +.SH "bool QFont::fromString ( const TQString & descrip )" Sets this font to match the description \fIdescrip\fR. The description is a comma-separated list of the font attributes, as returned by toString(). .PP See also toString() and operator>>(). .SH "HFONT QFont::handle () const" Returns the window system handle to the font, for low-level access. Using this function is \fInot\fR portable. -.SH "void QFont::insertSubstitution ( const QString & familyName, const QString & substituteName )\fC [static]\fR" +.SH "void QFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName )\fC [static]\fR" Inserts the family name \fIsubstituteName\fR into the substitution table for \fIfamilyName\fR. .PP See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes(). .PP Example: fonts/simple-qfont-demo/viewer.cpp. -.SH "void QFont::insertSubstitutions ( const QString & familyName, const QStringList & substituteNames )\fC [static]\fR" +.SH "void QFont::insertSubstitutions ( const TQString & familyName, const QStringList & substituteNames )\fC [static]\fR" Inserts the list of families \fIsubstituteNames\fR into the substitution list for \fIfamilyName\fR. .PP See also insertSubstitution(), removeSubstitution(), substitutions(), and substitute(). @@ -625,17 +625,17 @@ Returns TRUE if italic has been set; otherwise returns FALSE. See also setItalic(). .PP Example: chart/optionsform.cpp. -.SH "QString QFont::key () const" +.SH "TQString QFont::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. .PP See also QMap. -.SH "QString QFont::lastResortFamily () const" +.SH "TQString QFont::lastResortFamily () const" Returns the "last resort" font family name. .PP The current implementation tries a wide variety of common fonts, returning the first one it finds. Is is possible that no family is found in which case a null string is returned. .PP See also lastResortFont(). -.SH "QString QFont::lastResortFont () const" +.SH "TQString QFont::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 always return a name, if necessary returning something like" fixed" or "system". .PP The current implementation tries a wide variety of common fonts, returning the first one it finds. The implementation may change at any time, but this function will always return a string containing something. @@ -686,7 +686,7 @@ Note that this function is only applicable on Qt/Embedded. Returns TRUE if raw mode is used for font name matching; otherwise returns FALSE. .PP See also setRawMode() and rawName(). -.SH "QString QFont::rawName () const" +.SH "TQString QFont::rawName () const" Returns the name of the font within the underlying window system. .PP On Windows, this is usually just the family name of a TrueType font. @@ -696,7 +696,7 @@ On X11, it is an XLFD (X Logical Font Description). When TQt is build with Xft s Using the return value of this function is usually \fInot\fR \fIportable\fR. .PP See also setRawName(). -.SH "void QFont::removeSubstitution ( const QString & familyName )\fC [static]\fR" +.SH "void QFont::removeSubstitution ( const TQString & familyName )\fC [static]\fR" Removes all the substitutions for \fIfamilyName\fR. .PP See also insertSubstitutions(), insertSubstitution(), substitutions(), and substitute(). @@ -715,7 +715,7 @@ Examples: \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Please use QApplication::setFont() instead. -.SH "void QFont::setFamily ( const QString & family )" +.SH "void QFont::setFamily ( const TQString & family )" Sets the family name of the font. The name is case insensitive and may include a foundry name. .PP The \fIfamily\fR name may optionally also include a foundry name, e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e." Cronyx-Helvetica", is also supported.) If the \fIfamily\fR is available from more than one foundry and the foundry isn't specified, an arbitrary foundry is chosen. If the family isn't available a family will be set using the font matching algorithm. @@ -766,7 +766,7 @@ If raw mode is enabled, TQt will search for an X font with a complete font name \fBWarning:\fR Do not use raw mode unless you really, really need it! In most (if not all) cases, setRawName() is a much better choice. .PP See also rawMode() and setRawName(). -.SH "void QFont::setRawName ( const QString & name )" +.SH "void QFont::setRawName ( const TQString & name )" Sets a font by its system specific name. The function is particularly useful under X, where system font settings (for example X resources) are usually available in XLFD (X Logical Font Description) form only. You can pass an XLFD as \fIname\fR to this function. .PP A font set with setRawName() is still a full-featured QFont. It can be queried (for example with italic()) or modified (for example with setItalic()) and is therefore also suitable for rendering rich text. @@ -838,7 +838,7 @@ Returns the StyleStrategy. The style strategy affects the font matching algorithm. See QFont::StyleStrategy for the list of strategies. .PP See also setStyleHint() and QFont::StyleHint. -.SH "QString QFont::substitute ( const QString & familyName )\fC [static]\fR" +.SH "TQString QFont::substitute ( const TQString & familyName )\fC [static]\fR" Returns the first family name to be used whenever \fIfamilyName\fR is specified. The lookup is case insensitive. .PP If there is no substitution for \fIfamilyName\fR, \fIfamilyName\fR is returned. @@ -846,7 +846,7 @@ If there is no substitution for \fIfamilyName\fR, \fIfamilyName\fR is returned. To obtain a list of substitutions use substitutes(). .PP See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). -.SH "QStringList QFont::substitutes ( const QString & familyName )\fC [static]\fR" +.SH "QStringList QFont::substitutes ( const TQString & familyName )\fC [static]\fR" Returns a list of family names to be used whenever \fIfamilyName\fR is specified. The lookup is case insensitive. .PP If there is no substitution for \fIfamilyName\fR, an empty list is returned. @@ -858,7 +858,7 @@ Example: fonts/simple-qfont-demo/viewer.cpp. Returns a sorted list of substituted family names. .PP See also insertSubstitution(), removeSubstitution(), and substitute(). -.SH "QString QFont::toString () const" +.SH "TQString QFont::toString () const" Returns a description of the font. The description is a comma-separated list of the attributes, perfectly suited for use in QSettings. .PP See also fromString() and operator<<(). |