Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

Compatibility Members for QFontDatabase

The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.

QFontDatabase class reference

Public Functions


Member Function Documentation

bool QFontDatabase::bold ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other bold() function instead.

QStringList QFontDatabase::families ( bool onlyForLocale ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The onlyForLocale parameter has been deprecated since Qt 3.0.

Use the other families() function instead.

QFont QFontDatabase::font ( const QString & familyName, const QString & style, int pointSize, const QString & charSet )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other font() function instead.

bool QFontDatabase::isBitmapScalable ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other isBitmapScalable() function instead.

bool QFontDatabase::isFixedPitch ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other isFixedPitch() function instead.

bool QFontDatabase::isScalable ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other isScalable() function instead.

bool QFontDatabase::isSmoothlyScalable ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other isSmoothlyScalable() function instead.

bool QFontDatabase::italic ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other italic() function instead.

QList<int> QFontDatabase::pointSizes ( const QString & family, const QString & style, const QString & charSet )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other pointSizes() function instead.

QList<int> QFontDatabase::smoothSizes ( const QString & family, const QString & style, const QString & charSet )

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other smoothSizes() function instead.

QStringList QFontDatabase::styles ( const QString & family, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other styles() function instead.

int QFontDatabase::weight ( const QString & family, const QString & style, const QString & charSet ) const

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

The charSet parameter has been deprecated since Qt 3.0. The character set can be queried using QFont::charSet().

Use the other weight() function instead.


Copyright © 2004 Trolltech Trademarks
Qt 4.0.0-b1