Qt 4.8
|
The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase. More...
#include <qplatformfontdatabase_qpa.h>
Public Functions | |
QSupportedWritingSystems & | operator= (const QSupportedWritingSystems &other) |
Assigns the other supported writing systems object to this object. More... | |
QSupportedWritingSystems () | |
QSupportedWritingSystems (const QSupportedWritingSystems &other) | |
void | setSupported (QFontDatabase::WritingSystem, bool supported=true) |
Sets the supported state of the writing system given by writingSystem to the value specified by support. More... | |
bool | supported (QFontDatabase::WritingSystem) const |
Returns true if the writing system given by writingSystem is supported; otherwise returns false. More... | |
~QSupportedWritingSystems () | |
Destroys the object. More... | |
Private Functions | |
void | detach () |
Properties | |
QWritingSystemsPrivate * | d |
Friends | |
Q_GUI_EXPORT bool | operator!= (const QSupportedWritingSystems &, const QSupportedWritingSystems &) |
Q_GUI_EXPORT bool | operator== (const QSupportedWritingSystems &, const QSupportedWritingSystems &) |
The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase.
Its to provide an easy to use interface for indicating what writing systems a specific font supports.
Definition at line 60 of file qplatformfontdatabase_qpa.h.
QSupportedWritingSystems::QSupportedWritingSystems | ( | ) |
Definition at line 152 of file qplatformfontdatabase_qpa.cpp.
QSupportedWritingSystems::QSupportedWritingSystems | ( | const QSupportedWritingSystems & | other | ) |
Definition at line 157 of file qplatformfontdatabase_qpa.cpp.
QSupportedWritingSystems::~QSupportedWritingSystems | ( | ) |
|
private |
Definition at line 186 of file qplatformfontdatabase_qpa.cpp.
QSupportedWritingSystems & QSupportedWritingSystems::operator= | ( | const QSupportedWritingSystems & | other | ) |
Assigns the other supported writing systems object to this object.
Definition at line 166 of file qplatformfontdatabase_qpa.cpp.
void QSupportedWritingSystems::setSupported | ( | QFontDatabase::WritingSystem | writingSystem, |
bool | support = true |
||
) |
Sets the supported state of the writing system given by writingSystem to the value specified by support.
A value of true indicates that the writing system is supported; a value of false indicates that it is unsupported.
Definition at line 204 of file qplatformfontdatabase_qpa.cpp.
Referenced by QBasicUnixFontDatabase::addTTFile(), determineWritingSystemsFromTrueTypeBits(), QFontconfigDatabase::populateFontDatabase(), QCoreTextFontDatabase::populateFontDatabase(), and QPlatformFontDatabase::registerQPF2Font().
bool QSupportedWritingSystems::supported | ( | QFontDatabase::WritingSystem | writingSystem | ) | const |
Returns true if the writing system given by writingSystem is supported; otherwise returns false.
Definition at line 216 of file qplatformfontdatabase_qpa.cpp.
Referenced by QFontconfigDatabase::populateFontDatabase(), and qt_registerFont().
|
friend |
|
friend |
|
private |
Definition at line 75 of file qplatformfontdatabase_qpa.h.
Referenced by operator=(), and QSupportedWritingSystems().