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
qgeopositioninfosourcefactory_geoclue2.h
Go to the documentation of this file.
1// Copyright (C) 2018 Denis Shienkov <denis.shienkov@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QGEOPOSITIONINFOSOURCEFACTORY_GEOCLUE2_H
6#define QGEOPOSITIONINFOSOURCEFACTORY_GEOCLUE2_H
7
8#include <QtCore/QObject>
9#include <QtPositioning/QGeoPositionInfoSourceFactory>
10
12
13/*
14 Qt Positioning plugin for Geoclue. This plugin supports Geoclue version 2.x.
15*/
17{
18 Q_OBJECT
19
20 Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0"
21 FILE "plugin.json")
22
24
25public:
27 QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override;
28 QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) override;
29};
30
31QT_END_NAMESPACE
32
33#endif // QGEOPOSITIONINFOSOURCEFACTORY_GEOCLUE2_H
Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0" FILE "plugin.json") public QGeoSatelliteInfoSource * satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override
Returns a new QGeoSatelliteInfoSource associated with this plugin with parent parent,...
QGeoAreaMonitorSource * areaMonitor(QObject *parent, const QVariantMap &parameters) override
Returns a new QGeoAreaMonitorSource associated with this plugin with parent parent,...
Combined button and popup list for selecting options.
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")