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
qohospositioncommon.cpp File Reference

(511b67fd45b14ea17c21ed8daa2894a412d68f7a)

#include "qohospositioncommon.h"
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qpermissions.h>
Include dependency graph for qohospositioncommon.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QNapi::Object getGeoLocationManagerObject (QOhosJsState &jsState)
bool checkLocationOrApproximatelyLocationPermissionGranted ()
std::unique_ptr< QTimermakeSingleShotUpdateTimeoutTimer (int timeoutMs, std::function< void()> timeoutCallback)

Function Documentation

◆ checkLocationOrApproximatelyLocationPermissionGranted()

bool checkLocationOrApproximatelyLocationPermissionGranted ( )

Definition at line 16 of file qohospositioncommon.cpp.

Referenced by QT_BEGIN_NAMESPACE::QOhosGeoSatelliteInfoSource::requestUpdate(), QT_BEGIN_NAMESPACE::QOhosGeoSatelliteInfoSource::startUpdates(), and QT_BEGIN_NAMESPACE::QOhosGeoPositionInfoSource::tryMakeInstance().

Here is the caller graph for this function:

◆ getGeoLocationManagerObject()

QT_BEGIN_NAMESPACE QNapi::Object getGeoLocationManagerObject ( QOhosJsState & jsState)

Definition at line 11 of file qohospositioncommon.cpp.

◆ makeSingleShotUpdateTimeoutTimer()

std::unique_ptr< QTimer > makeSingleShotUpdateTimeoutTimer ( int timeoutMs,
std::function< void()> timeoutCallback )

Definition at line 25 of file qohospositioncommon.cpp.