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
qgeolocation_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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
4#ifndef QGEOLOCATION_P_H
5#define QGEOLOCATION_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/QSharedData>
19#include <QtPositioning/QGeoAddress>
20#include <QtPositioning/QGeoCoordinate>
21#include <QtPositioning/QGeoShape>
22#include <QVariantMap>
23#include <private/qglobal_p.h>
24
25QT_BEGIN_NAMESPACE
26
27class QGeoLocationPrivate : public QSharedData
28{
29public:
30 QGeoLocationPrivate();
31 QGeoLocationPrivate(const QGeoLocationPrivate &other);
32
33 ~QGeoLocationPrivate();
34
35 bool operator==(const QGeoLocationPrivate &other) const;
36
37 bool isEmpty() const;
38
39 QGeoAddress address;
40 QGeoCoordinate coordinate;
41 QGeoShape viewport;
42 QVariantMap extendedAttributes;
43};
44
46
47#endif
\inmodule QtPositioning
Combined button and popup list for selecting options.
constexpr size_t qHash(const QSize &s, size_t seed=0) noexcept
Definition qsize.h:191