QSupportedWritingSystems Class

The QSupportedWritingSystems class is used when registering fonts with the internal Qt fontdatabase More...

Header: #include <QSupportedWritingSystems>
Since: Qt 4.8

Public Functions

QSupportedWritingSystems(const QSupportedWritingSystems & other)
void setSupported(QFontDatabase::WritingSystem writingSystem, bool support = true)
bool supported(QFontDatabase::WritingSystem writingSystem) const
QSupportedWritingSystems & operator=(const QSupportedWritingSystems & other)

Detailed Description

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.

Member Function Documentation


QSupportedWritingSystems::QSupportedWritingSystems(const QSupportedWritingSystems & other)


Destroys the object.

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.

See also supported().

bool QSupportedWritingSystems::supported(QFontDatabase::WritingSystem writingSystem) const

Returns true if the writing system given by writingSystem is supported; otherwise returns false.

See also setSupported().

QSupportedWritingSystems & QSupportedWritingSystems::operator=(const QSupportedWritingSystems & other)

Assigns the other supported writing systems object to this object.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.