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
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
// Qt-Security score:significant reason:default
4
#
ifndef
QGEOTILESPEC_P_H
5
#
define
QGEOTILESPEC_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
<
QString
>
19
#
include
<
QSharedData
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QGeoTileSpecPrivate :
public
QSharedData
24
{
25
public
:
26
QGeoTileSpecPrivate(
const
QString &plugin = {},
int
mapId = 0,
27
int
zoom = -1,
int
x = -1,
int
y = -1,
int
version = -1)
28
: plugin_(plugin), mapId_(mapId), zoom_(zoom),
29
x_(x), y_(y), version_(version)
30
{}
31
32
inline
bool
operator==(
const
QGeoTileSpecPrivate &rhs)
const
33
{
34
return
mapId_ == rhs.mapId_
35
&& zoom_ == rhs.zoom_
36
&& x_ == rhs.x_
37
&& y_ == rhs.y_
38
&& version_ == rhs.version_
39
&& plugin_ == rhs.plugin_;
40
}
41
bool
operator<(
const
QGeoTileSpecPrivate &rhs)
const
;
42
43
QString plugin_;
44
int
mapId_ = 0;
45
int
zoom_ = -1;
46
int
x_ = -1;
47
int
y_ = -1;
48
int
version_ = -1;
49
};
50
51
QT_END_NAMESPACE
52
53
#
endif
// QGEOTILESPEC_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
operator<<
QDebug operator<<(QDebug dbg, const QFileInfo &fi)
Definition
qfileinfo.cpp:1807
qHash
size_t qHash(const QHashedString &string)
Definition
qhashedstring_p.h:137
qtlocation
src
location
maps
qgeotilespec_p_p.h
Generated on
for Qt by
1.16.1