![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qglobal.h>#include <type_traits>Go to the source code of this file.
Enumerations | |
| enum class | QOhosRuntimeDeviceTypeAndMode { _2in1 = 1 << 0 , HandheldDeviceFullScreen = 1 << 1 , HandheldDeviceWindowPcMode = 1 << 2 } |
Functions | |
| QOhosRuntimeDeviceTypeAndMode | queryQOhosRuntimeDeviceAndMode () |
| bool | isHandheldDeviceType () |
| constexpr QOhosRuntimeDeviceTypeAndMode | operator| (QOhosRuntimeDeviceTypeAndMode lhs, QOhosRuntimeDeviceTypeAndMode rhs) |
|
strong |
| Enumerator | |
|---|---|
| _2in1 | |
| HandheldDeviceFullScreen | |
| HandheldDeviceWindowPcMode | |
Definition at line 12 of file qohosruntimedevicetypeandmode.h.
| bool isHandheldDeviceType | ( | ) |
Definition at line 27 of file qohosruntimedevicetypeandmode.cpp.
References QOhosDeviceInfo::isPhone(), and QOhosDeviceInfo::isTablet().
Referenced by QOhosView::QOhosView(), and queryQOhosRuntimeDeviceAndMode().
|
constexpr |
Definition at line 22 of file qohosruntimedevicetypeandmode.h.
| QT_BEGIN_NAMESPACE QOhosRuntimeDeviceTypeAndMode queryQOhosRuntimeDeviceAndMode | ( | ) |
Definition at line 12 of file qohosruntimedevicetypeandmode.cpp.
References _2in1, HandheldDeviceFullScreen, HandheldDeviceWindowPcMode, QOhosDeviceInfo::is2in1(), isHandheldDeviceType(), and QOhosSettings::isWindowPcModeEnabled().