SystemId Class

class QCalendar ::SystemId

This class was introduced in Qt 6.2.

公共函数

bool isValid () const

详细描述

This is an opaque type used to identify custom calendar implementations. The only supported source for values of this type is the backend's calendarId() method. A value of this type whose isValid () is false does not identify a successfully-registered backend. The only valid consumer of values of this type is a QCalendar constructor, which will only produce a valid QCalendar instance if the ID passed to it is valid.

另请参阅 QCalendar and QCalendar::System .

成员函数文档编制

[constexpr] bool SystemId:: isValid () const

返回 true if this is a valid calendar implementation identifier, false 否则。

另请参阅 QCalendar .