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
qplacereply.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
QPLACEREPLY_H
6
#
define
QPLACEREPLY_H
7
8
#
include
<
QtCore
/
QMetaType
>
9
#
include
<
QtCore
/
QObject
>
10
#
include
<
QtLocation
/
qlocationglobal
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QPlaceReplyPrivate;
15
class
Q_LOCATION_EXPORT
QPlaceReply
:
public
QObject
16
{
17
Q_OBJECT
18
public
:
19
enum
Error {
20
NoError,
21
PlaceDoesNotExistError,
22
CategoryDoesNotExistError,
23
CommunicationError,
24
ParseError,
25
PermissionsError,
26
UnsupportedError,
27
BadArgumentError,
28
CancelError,
29
UnknownError
30
};
31
32
enum
Type {
33
Reply,
34
DetailsReply,
35
SearchReply,
36
SearchSuggestionReply,
37
ContentReply,
38
IdReply,
39
MatchReply
40
};
41
42
explicit
QPlaceReply(QObject *parent =
nullptr
);
43
~QPlaceReply();
44
45
bool
isFinished()
const
;
46
47
virtual
Type type()
const
;
48
49
QString errorString()
const
;
50
QPlaceReply::Error error()
const
;
51
52
public
Q_SLOTS:
53
virtual
void
abort();
54
55
Q_SIGNALS:
56
void
finished();
57
void
contentUpdated();
58
void
aborted();
59
void
errorOccurred(QPlaceReply::Error error,
const
QString &errorString = QString());
60
61
protected
:
62
explicit
QPlaceReply(QPlaceReplyPrivate *, QObject *parent =
nullptr
);
63
void
setFinished(
bool
finished);
64
void
setError(QPlaceReply::Error error,
const
QString &errorString);
65
QPlaceReplyPrivate *d_ptr;
66
67
private
:
68
Q_DISABLE_COPY(QPlaceReply)
69
};
70
71
QT_END_NAMESPACE
72
73
Q_DECLARE_METATYPE(QPlaceReply::Error)
74
Q_DECLARE_METATYPE(QPlaceReply *)
75
76
#
endif
// QPLACEREPLY_H
QPlaceContentReplyPrivate
Definition
qplacecontentreply.cpp:12
QPlaceContentReplyPrivate::contentCollection
QPlaceContent::Collection contentCollection
Definition
qplacecontentreply.cpp:14
QPlaceContentReplyPrivate::contentRequest
QPlaceContentRequest contentRequest
Definition
qplacecontentreply.cpp:16
QPlaceContentReplyPrivate::nextPageRequest
QPlaceContentRequest nextPageRequest
Definition
qplacecontentreply.cpp:18
QPlaceContentReplyPrivate::totalCount
int totalCount
Definition
qplacecontentreply.cpp:15
QPlaceContentReplyPrivate::previousPageRequest
QPlaceContentRequest previousPageRequest
Definition
qplacecontentreply.cpp:17
QPlaceContentReply
\inmodule QtLocation
Definition
qplacecontentreply.h:16
QPlaceReply
\inmodule QtLocation
Definition
qplacereply.h:16
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
places
qplacereply.h
Generated on
for Qt by
1.18.0