Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
positionpollfactory.cpp
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
6
8
10{
12 Q_UNUSED(parameters)
13 return nullptr;
14}
15
17{
19 Q_UNUSED(parameters)
20 return nullptr;
21}
22
24{
25 Q_UNUSED(parameters)
27 if (ret && ret->isValid())
28 return ret;
29 delete ret;
30 return nullptr;
31}
32
34
35#include "moc_positionpollfactory.cpp"
\inmodule QtPositioning
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,...
virtual QGeoPositionInfoSource * positionInfoSource(QObject *parent, const QVariantMap &parameters)=0
Returns a new QGeoPositionInfoSource associated with this plugin with parent parent,...
\inmodule QtPositioning
\inmodule QtPositioning
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
Combined button and popup list for selecting options.
return ret
#define Q_UNUSED(x)