SystemId Class

class QCalendar::SystemId

このクラスは Qt 6.2 で導入されました。

パブリック関数

bool isValid() const

詳細説明

これは、カスタムカレンダーの実装を識別するために使用される不透明な型です。この型の値のソースとしてサポートされているのは、バックエンドのcalendarId() メソッドのみです。isValid() が false であるこの型の値は、正常に登録されたバックエンドを識別しない。この型の値の唯一の有効なコンシューマはQCalendar コンストラクタであり、渡された ID が有効な場合にのみ有効なQCalendar インスタンスを生成する。

QCalendar およびQCalendar::Systemも参照のこと

メンバ関数のドキュメント

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

これが有効なカレンダー実装識別子であればtrue を、そうでなければfalse を返す。

QCalendarも参照してください

© 2025 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.