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
4#ifndef QGEOPOSITIONINFOSOURCEFACTORY_GEOCLUE2_H
5#define QGEOPOSITIONINFOSOURCEFACTORY_GEOCLUE2_H
6
7#include <QtCore/QObject>
8#include <QtPositioning/QGeoPositionInfoSourceFactory>
9
11
12/*
13 Qt Positioning plugin for Geoclue. This plugin supports Geoclue version 2.x.
14*/
16{
17 Q_OBJECT
18
19 Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0"
20 FILE "plugin.json")
21
23
24public:
26 QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override;
27 QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) override;
28};
29
30QT_END_NAMESPACE
31
32#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")