Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qgeotiledmapreply_p.h
Go to the documentation of this file.
1
// Copyright (C) 2015 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
QGEOTILEDMAPREPLY_H
6
#
define
QGEOTILEDMAPREPLY_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtLocation
/
private
/
qlocationglobal_p
.
h
>
20
21
#
include
<
QObject
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QGeoTileSpec;
26
class
QGeoTiledMapReplyPrivate;
27
28
class
Q_LOCATION_EXPORT
QGeoTiledMapReply
:
public
QObject
29
{
30
Q_OBJECT
31
32
public
:
33
enum
Error {
34
NoError,
35
CommunicationError,
36
ParseError,
37
UnknownError
38
};
39
40
QGeoTiledMapReply(
const
QGeoTileSpec &spec, QObject *parent =
nullptr
);
41
QGeoTiledMapReply(Error error,
const
QString &errorString, QObject *parent =
nullptr
);
42
virtual
~QGeoTiledMapReply();
43
44
bool
isFinished()
const
;
45
Error error()
const
;
46
QString errorString()
const
;
47
48
bool
isCached()
const
;
49
50
QGeoTileSpec tileSpec()
const
;
51
52
QByteArray mapImageData()
const
;
53
QString mapImageFormat()
const
;
54
55
virtual
void
abort();
56
57
Q_SIGNALS:
58
void
finished();
59
void
aborted();
60
void
errorOccurred(QGeoTiledMapReply::Error error,
const
QString &errorString = QString());
61
62
protected
:
63
void
setError(Error error,
const
QString &errorString);
64
void
setFinished(
bool
finished);
65
66
void
setCached(
bool
cached);
67
68
void
setMapImageData(
const
QByteArray &data);
69
void
setMapImageFormat(
const
QString &format);
70
71
private
:
72
QGeoTiledMapReplyPrivate *d_ptr;
73
Q_DISABLE_COPY(QGeoTiledMapReply)
74
};
75
76
QT_END_NAMESPACE
77
78
#
endif
QGeoMappingManagerPrivate
Definition
qgeomappingmanager_p_p.h:22
QGeoMappingManagerPrivate::QGeoMappingManagerPrivate
QGeoMappingManagerPrivate()
QGeoMappingManagerPrivate::engine
QGeoMappingManagerEngine * engine
Definition
qgeomappingmanager_p_p.h:27
QGeoMappingManagerPrivate::~QGeoMappingManagerPrivate
~QGeoMappingManagerPrivate()
Definition
qgeomappingmanager.cpp:144
QGeoTiledMapReply
\inmodule QtLocation
Definition
qgeotiledmapreply_p.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
maps
qgeotiledmapreply_p.h
Generated on
for Qt by
1.18.0