In questa pagina

QCalendar::SystemId Class

class QCalendar::SystemId

Questa classe è stata introdotta in Qt 6.2.

Funzioni pubbliche

bool isValid() const

Descrizione dettagliata

Si tratta di un tipo opaco utilizzato per identificare implementazioni personalizzate del calendario. L'unica fonte supportata per i valori di questo tipo è il metodo ` calendarId() ` del backend. Un valore di questo tipo il cui metodo ` isValid()` restituisce `false` non identifica un backend registrato correttamente. L'unico utilizzatore valido dei valori di questo tipo è il costruttore ` QCalendar `, che produrrà un'istanza valida di ` QCalendar ` solo se l'ID che gli viene passato è valido.

Vedi anche ` QCalendar ` e ` QCalendar::System`.

Documentazione delle funzioni membro

[constexpr noexcept] bool SystemId::isValid() const

Restituisce true se si tratta di un identificatore di implementazione del calendario valido; in caso contrario, restituisce false.

Vedi anche QCalendar.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.