![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtCore More...
#include <qcalendar.h>
Public Member Functions | |
constexpr | SystemId () |
constexpr size_t | index () const noexcept |
constexpr bool | isValid () const noexcept |
Returns true if this is a valid calendar implementation identifier, false otherwise. | |
Friends | |
class | QCalendarBackend |
\inmodule QtCore
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.
Definition at line 97 of file qcalendar.h.
|
inlineconstexpr |
Constructs an invalid calendar system identifier.
Definition at line 106 of file qcalendar.h.
|
inlineconstexprnoexcept |
Returns the internal representation of the identifier.
Definition at line 107 of file qcalendar.h.
Referenced by QCalendar::QCalendar(), QCalendar::QCalendar(), and QCalendarBackend::calendarSystem().
|
inlineconstexprnoexcept |
Returns true
if this is a valid calendar implementation identifier, false
otherwise.
Definition at line 108 of file qcalendar.h.
Referenced by QCalendar::QCalendar(), QCalendar::QCalendar(), QCalendarBackend::~QCalendarBackend(), QCalendarBackend::registerCustomBackend(), and QtPrivate::QCalendarRegistry::registerCustomBackend().
|
friend |
Definition at line 100 of file qcalendar.h.