Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSupportedWritingSystems Class Reference

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

#include <qplatformfontdatabase.h>

Collaboration diagram for QSupportedWritingSystems:

Public Member Functions

 QSupportedWritingSystems ()
 Constructs a new object to handle supported writing systems.
 QSupportedWritingSystems (const QSupportedWritingSystems &other)
 Constructs a copy of the other writing systems object.
QSupportedWritingSystemsoperator= (const QSupportedWritingSystems &other)
 Constructs a copy of the other writing systems object.
 ~QSupportedWritingSystems ()
 Destroys the supported writing systems object.
void setSupported (QFontDatabase::WritingSystem, bool supported=true)
 Sets or clears support for the specified writingSystem based on the value given by support.
bool supported (QFontDatabase::WritingSystem) const
 Returns true if the writing system specified by writingSystem is supported; otherwise returns false.

Friends

Q_GUI_EXPORT bool operator== (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs)
Q_GUI_EXPORT bool operator!= (const QSupportedWritingSystems &lhs, const QSupportedWritingSystems &rhs)
Q_GUI_EXPORT QDebug operator<< (QDebug debug, const QSupportedWritingSystems &sws)

Detailed Description

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

\inmodule QtGui

Its to provide an easy to use interface for indicating what writing systems a specific font supports.

Definition at line 31 of file qplatformfontdatabase.h.

Constructor & Destructor Documentation

◆ QSupportedWritingSystems() [1/2]

QSupportedWritingSystems::QSupportedWritingSystems ( )

Constructs a new object to handle supported writing systems.

Definition at line 103 of file qplatformfontdatabase.cpp.

◆ QSupportedWritingSystems() [2/2]

QSupportedWritingSystems::QSupportedWritingSystems ( const QSupportedWritingSystems & other)

Constructs a copy of the other writing systems object.

Definition at line 111 of file qplatformfontdatabase.cpp.

◆ ~QSupportedWritingSystems()

QSupportedWritingSystems::~QSupportedWritingSystems ( )

Destroys the supported writing systems object.

Definition at line 174 of file qplatformfontdatabase.cpp.

Member Function Documentation

◆ operator=()

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

Constructs a copy of the other writing systems object.

Definition at line 120 of file qplatformfontdatabase.cpp.

◆ setSupported()

void QSupportedWritingSystems::setSupported ( QFontDatabase::WritingSystem writingSystem,
bool supported = true )

Sets or clears support for the specified writingSystem based on the value given by support.

Definition at line 197 of file qplatformfontdatabase.cpp.

◆ supported()

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

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

Definition at line 207 of file qplatformfontdatabase.cpp.

◆ operator!=

Q_GUI_EXPORT bool operator!= ( const QSupportedWritingSystems & lhs,
const QSupportedWritingSystems & rhs )
friend

Definition at line 136 of file qplatformfontdatabase.cpp.

◆ operator<<

Q_GUI_EXPORT QDebug operator<< ( QDebug debug,
const QSupportedWritingSystems & sws )
friend

Definition at line 152 of file qplatformfontdatabase.cpp.

◆ operator==

Q_GUI_EXPORT bool operator== ( const QSupportedWritingSystems & lhs,
const QSupportedWritingSystems & rhs )
friend

Definition at line 131 of file qplatformfontdatabase.cpp.


The documentation for this class was generated from the following files: