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 noexcept] bool SystemId:: isValid () const

返迴 true if this is a valid calendar implementation identifier, false 否則。

另請參閱 QCalendar .