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
positionpollfactory.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
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 POSITIONPOLLFACTORY_H
6#define POSITIONPOLLFACTORY_H
7
8#include <QObject>
9#include <QtPositioning/qgeopositioninfosourcefactory.h>
10
11QT_BEGIN_NAMESPACE
12
13class QGeoPositionInfoSourceFactoryPoll : public QObject, public QGeoPositionInfoSourceFactory
14{
15 Q_OBJECT
16 Q_PLUGIN_METADATA(IID "org.qt-project.qt.position.sourcefactory/6.0"
17 FILE "plugin.json")
18 Q_INTERFACES(QGeoPositionInfoSourceFactory)
19public:
20 QGeoPositionInfoSource *positionInfoSource(QObject *parent, const QVariantMap &parameters) override;
21 QGeoSatelliteInfoSource *satelliteInfoSource(QObject *parent, const QVariantMap &parameters) override;
22 QGeoAreaMonitorSource *areaMonitor(QObject *parent, const QVariantMap &parameters) override;
23};
24
25QT_END_NAMESPACE
26
27#endif // POSITIONPOLLFACTORY_H
Combined button and popup list for selecting options.