Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohosruntimedevicetypeandmode.cpp File Reference

(dfb24ae211eed5af950e15ae50783635e1824490)

#include <qohosruntimedevicetypeandmode.h>
#include <QtCore/private/qohoslogger_p.h>
#include <qohosdeviceinfo_p.h>
#include <qohosplatformintegration.h>
#include <qohossettings.h>
Include dependency graph for qohosruntimedevicetypeandmode.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QOhosRuntimeDeviceTypeAndMode queryQOhosRuntimeDeviceAndMode ()
bool isHandheldDeviceType ()

Function Documentation

◆ isHandheldDeviceType()

bool isHandheldDeviceType ( )

Definition at line 28 of file qohosruntimedevicetypeandmode.cpp.

References QOhosDeviceInfo::isPhone(), and QOhosDeviceInfo::isTablet().

Referenced by QOhosView::QOhosView(), and queryQOhosRuntimeDeviceAndMode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ queryQOhosRuntimeDeviceAndMode()

QT_BEGIN_NAMESPACE QOhosRuntimeDeviceTypeAndMode queryQOhosRuntimeDeviceAndMode ( )

Definition at line 13 of file qohosruntimedevicetypeandmode.cpp.

References _2in1, HandheldDeviceFullScreen, HandheldDeviceWindowPcMode, QOhosPlatformIntegration::instance(), QOhosDeviceInfo::is2in1(), isHandheldDeviceType(), QOhosSettings::isWindowPcModeEnabled(), and QOhosPlatformIntegration::settings().

Here is the call graph for this function: