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.h File Reference

(511b67fd45b14ea17c21ed8daa2894a412d68f7a)

#include <QtCore/private/qcore_ohos_p.h>
#include <QtCore/private/qnapi_p.h>
#include <QtCore/qtimer.h>
#include <memory>
Include dependency graph for qohospositioncommon.h:
This graph shows which files directly or indirectly include this file:

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.