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

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include <qohosruntimedevicetypeandmode.h>
#include <QtCore/private/qohoslogger_p.h>
#include <qohosdeviceinfo_p.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 27 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 12 of file qohosruntimedevicetypeandmode.cpp.

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

Here is the call graph for this function: