Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::QCalendarRegistry Class Reference
+ Collaboration diagram for QtPrivate::QCalendarRegistry:

Public Member Functions

 QCalendarRegistry ()
 
 ~QCalendarRegistry ()
 
bool isBeingDestroyed () const
 
void registerCustomBackend (QCalendarBackend *backend, const QStringList &names)
 
QStringList availableCalendars ()
 
const QCalendarBackendgregorian ()
 
bool isGregorian (const QCalendarBackend *backend) const
 
const QCalendarBackendfromName (QAnyStringView name)
 
const QCalendarBackendfromIndex (size_t index)
 
const QCalendarBackendfromEnum (QCalendar::System system)
 
QStringList backendNames (const QCalendarBackend *backend)
 

Detailed Description

Definition at line 43 of file qcalendar.cpp.

Constructor & Destructor Documentation

◆ QCalendarRegistry()

QtPrivate::QCalendarRegistry::QCalendarRegistry ( )
inline

Definition at line 103 of file qcalendar.cpp.

◆ ~QCalendarRegistry()

QtPrivate::QCalendarRegistry::~QCalendarRegistry ( )

Definition at line 153 of file qcalendar.cpp.

References qDeleteAll(), and QBasicAtomicInteger< T >::storeRelaxed().

+ Here is the call graph for this function:

Member Function Documentation

◆ availableCalendars()

QStringList QtPrivate::QCalendarRegistry::availableCalendars ( )

Definition at line 325 of file qcalendar.cpp.

References QFlatMap< Key, T, Compare, KeyContainer, MappedContainer >::keys().

+ Here is the call graph for this function:

◆ backendNames()

QStringList QtPrivate::QCalendarRegistry::backendNames ( const QCalendarBackend * backend)

Definition at line 412 of file qcalendar.cpp.

References QT_WARNING_DISABLE_CLANG, QT_WARNING_POP, QT_WARNING_PUSH, and QFlatMap< Key, T, Compare, KeyContainer, MappedContainer >::size().

+ Here is the call graph for this function:

◆ fromEnum()

const QCalendarBackend * QtPrivate::QCalendarRegistry::fromEnum ( QCalendar::System system)

Definition at line 388 of file qcalendar.cpp.

References QCalendar::Last, and Q_ASSERT.

Referenced by fromIndex(), and gregorian().

+ Here is the caller graph for this function:

◆ fromIndex()

const QCalendarBackend * QtPrivate::QCalendarRegistry::fromIndex ( size_t index)

Definition at line 358 of file qcalendar.cpp.

References fromEnum(), and QCalendar::Last.

+ Here is the call graph for this function:

◆ fromName()

const QCalendarBackend * QtPrivate::QCalendarRegistry::fromName ( QAnyStringView name)

Definition at line 342 of file qcalendar.cpp.

References QFlatMap< Key, T, Compare, KeyContainer, MappedContainer >::value().

+ Here is the call graph for this function:

◆ gregorian()

const QCalendarBackend * QtPrivate::QCalendarRegistry::gregorian ( )
inline

Definition at line 122 of file qcalendar.cpp.

References fromEnum(), QCalendar::Gregorian, and Q_LIKELY.

+ Here is the call graph for this function:

◆ isBeingDestroyed()

bool QtPrivate::QCalendarRegistry::isBeingDestroyed ( ) const
inline

Definition at line 111 of file qcalendar.cpp.

References QBasicAtomicInteger< T >::loadRelaxed().

+ Here is the call graph for this function:

◆ isGregorian()

bool QtPrivate::QCalendarRegistry::isGregorian ( const QCalendarBackend * backend) const
inline

Definition at line 135 of file qcalendar.cpp.

◆ registerCustomBackend()

void QtPrivate::QCalendarRegistry::registerCustomBackend ( QCalendarBackend * backend,
const QStringList & names )

Definition at line 176 of file qcalendar.cpp.

References QCalendarBackend::calendarId(), QCalendar::SystemId::isValid(), Q_ASSERT, and QCalendar::User.

+ Here is the call graph for this function:

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