Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeotilespec_p_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
#ifndef QGEOTILESPEC_P_H
4
#define QGEOTILESPEC_P_H
5
6
//
7
// W A R N I N G
8
// -------------
9
//
10
// This file is not part of the Qt API. It exists purely as an
11
// implementation detail. This header file may change from version to
12
// version without notice, or even be removed.
13
//
14
// We mean it.
15
//
16
17
#include <QString>
18
#include <QSharedData>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QGeoTileSpecPrivate
:
public
QSharedData
23
{
24
public
:
25
QGeoTileSpecPrivate
(
const
QString
&plugin = {},
int
mapId = 0,
26
int
zoom = -1,
int
x
= -1,
int
y
= -1,
int
version = -1)
27
:
plugin_
(plugin),
mapId_
(mapId),
zoom_
(zoom),
28
x_
(
x
),
y_
(
y
),
version_
(version)
29
{}
30
31
inline
bool
operator==
(
const
QGeoTileSpecPrivate
&rhs)
const
32
{
33
return
mapId_
== rhs.
mapId_
34
&&
zoom_
== rhs.
zoom_
35
&&
x_
== rhs.
x_
36
&&
y_
== rhs.
y_
37
&&
version_
== rhs.
version_
38
&&
plugin_
== rhs.
plugin_
;
39
}
40
bool
operator<
(
const
QGeoTileSpecPrivate
&rhs)
const
;
41
42
QString
plugin_
;
43
int
mapId_
= 0;
44
int
zoom_
= -1;
45
int
x_
= -1;
46
int
y_
= -1;
47
int
version_
= -1;
48
};
49
50
QT_END_NAMESPACE
51
52
#endif
// QGEOTILESPEC_P_H
QGeoTileSpecPrivate
Definition
qgeotilespec_p_p.h:23
QGeoTileSpecPrivate::operator==
bool operator==(const QGeoTileSpecPrivate &rhs) const
Definition
qgeotilespec_p_p.h:31
QGeoTileSpecPrivate::zoom_
int zoom_
Definition
qgeotilespec_p_p.h:44
QGeoTileSpecPrivate::plugin_
QString plugin_
Definition
qgeotilespec_p_p.h:42
QGeoTileSpecPrivate::x_
int x_
Definition
qgeotilespec_p_p.h:45
QGeoTileSpecPrivate::QGeoTileSpecPrivate
QGeoTileSpecPrivate(const QString &plugin={}, int mapId=0, int zoom=-1, int x=-1, int y=-1, int version=-1)
Definition
qgeotilespec_p_p.h:25
QGeoTileSpecPrivate::mapId_
int mapId_
Definition
qgeotilespec_p_p.h:43
QGeoTileSpecPrivate::version_
int version_
Definition
qgeotilespec_p_p.h:47
QGeoTileSpecPrivate::y_
int y_
Definition
qgeotilespec_p_p.h:46
QGeoTileSpecPrivate::operator<
bool operator<(const QGeoTileSpecPrivate &rhs) const
Definition
qgeotilespec.cpp:118
QSharedData
\inmodule QtCore
Definition
qshareddata.h:19
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
x
GLint GLint GLint GLint GLint x
[0]
Definition
qopengles2ext.h:605
y
GLint y
Definition
qopengles2ext.h:206
qtlocation
src
location
maps
qgeotilespec_p_p.h
Generated by
1.9.7