![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Enumerations | |
| enum class | Type { deviceType , manufacture , brand , marketName , productSeries , productModel , softwareModel , hardwareModel , hardwareProfile , serial , bootloaderVersion , abiList , securityPatchTag , displayVersion , incrementalVersion , osReleaseType , osFullName , majorVersion , seniorVersion , featureVersion , buildVersion , sdkApiVersion , firstApiVersion , versionId , buildType , buildUser , buildHost , buildTime , buildRootHash , udid , distributionOSName , distributionOSVersion , distributionOSApiVersion , distributionOSReleaseType } |
| enum class | RecognizedDeviceType { _2in1 , tablet , phone } |
Functions | |
| void | init (QMap< Type, QVariant > devinfo) |
| QVariant | getProperty (Type prop) |
| QOhosOptional< RecognizedDeviceType > | tryGetRecognizedDeviceType () |
| bool | isTablet () |
| bool | is2in1 () |
| bool | isPhone () |
| int | sdkApiVersion () |
| bool | isCurrentDeviceSupported () |
Variables | |
| static QMap< Type, QVariant > | s_deviceInfo = {} |
|
strong |
| Enumerator | |
|---|---|
| _2in1 | |
| tablet | |
| phone | |
Definition at line 63 of file qohosdeviceinfo_p.h.
|
strong |
Definition at line 26 of file qohosdeviceinfo_p.h.
Definition at line 34 of file qohosdeviceinfo.cpp.
Definition at line 29 of file qohosdeviceinfo.cpp.
References s_deviceInfo.
| bool QOhosDeviceInfo::is2in1 | ( | ) |
Definition at line 66 of file qohosdeviceinfo.cpp.
Referenced by QOhosSettings::isWindowPcModeEnabled(), QOhosWindowProxy::isWindowRectAutoSave(), queryQOhosRuntimeDeviceAndMode(), QOhosWindowProxy::setSubWindowModalEnabled(), QOhosWindowProxy::setWindowLimits(), QOhosWindowProxy::setWindowRectAutoSave(), QOhosWindowProxy::setWindowShadowRadius(), and QT_BEGIN_NAMESPACE::syncWindowGeometryPersistenceState().
| bool QOhosDeviceInfo::isCurrentDeviceSupported | ( | ) |
Definition at line 81 of file qohosdeviceinfo.cpp.
| bool QOhosDeviceInfo::isPhone | ( | ) |
Definition at line 71 of file qohosdeviceinfo.cpp.
Referenced by isHandheldDeviceType().
| bool QOhosDeviceInfo::isTablet | ( | ) |
Definition at line 61 of file qohosdeviceinfo.cpp.
Referenced by isHandheldDeviceType(), and QOhosWindowProxy::setWindowShadowRadius().
| int QOhosDeviceInfo::sdkApiVersion | ( | ) |
Definition at line 76 of file qohosdeviceinfo.cpp.
Referenced by QOhosDisplayInfo::makeFromOhosDisplayObject(), and QOhosWindowProxy::showWindow().
| QOhosOptional< RecognizedDeviceType > QOhosDeviceInfo::tryGetRecognizedDeviceType | ( | ) |
Definition at line 44 of file qohosdeviceinfo.cpp.
References _2in1, makeEmptyQOhosOptional(), phone, and tablet.