CalendarPermission QML Type
访问用户的日历。更多...
| Import Statement: | import QtCore |
| Since: | Qt 6.6 |
属性
- status : Qt::PermissionStatus
方法
- void request()
详细说明
此类型表示QCalendarPermission ,可用于检查用户日历的状态并请求访问该日历。
有关各个属性的文档和详细使用要求,请参阅QCalendarPermission 。
另请参阅 QML 应用程序权限、应用程序权限和QCalendarPermission 。
属性文档
status : Qt::PermissionStatus
该属性保存了权限的当前状态。
另请参阅 QCoreApplication::checkPermission 。
方法文档
void request()
使用其当前属性请求该权限。
© 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.