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
unsupportedreplies_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
UNSUPPORTEDREPLIES_P_H
6
#
define
UNSUPPORTEDREPLIES_P_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
#
include
"qplacedetailsreply.h"
21
#
include
"qplacecontentreply.h"
22
#
include
"qplacesearchreply.h"
23
#
include
"qplacesearchsuggestionreply.h"
24
#
include
"qplaceidreply.h"
25
26
#
include
"qplacematchreply.h"
27
#
include
"qplacemanagerengine.h"
28
29
QT_BEGIN_NAMESPACE
30
31
class
Q_LOCATION_EXPORT
QPlaceDetailsReplyUnsupported
:
public
QPlaceDetailsReply
32
{
33
Q_OBJECT
34
35
public
:
36
QPlaceDetailsReplyUnsupported(QPlaceManagerEngine *parent)
37
: QPlaceDetailsReply(parent)
38
{
39
setError(QPlaceReply::UnsupportedError,
40
QStringLiteral(
"Getting place details is not supported."
));
41
setFinished(
true
);
42
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
43
Q_ARG(QPlaceReply::Error, error()),
44
Q_ARG(QString, errorString()));
45
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
46
Q_ARG(QPlaceReply *,
this
),
47
Q_ARG(QPlaceReply::Error, error()),
48
Q_ARG(QString, errorString()));
49
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
50
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
51
Q_ARG(QPlaceReply *,
this
));
52
}
53
};
54
55
class
Q_LOCATION_EXPORT
QPlaceContentReplyUnsupported
:
public
QPlaceContentReply
56
{
57
Q_OBJECT
58
59
public
:
60
QPlaceContentReplyUnsupported(QPlaceManagerEngine *parent)
61
: QPlaceContentReply(parent)
62
{
63
setError(QPlaceReply::UnsupportedError,
64
QStringLiteral(
"Place content is not supported."
));
65
setFinished(
true
);
66
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
67
Q_ARG(QPlaceReply::Error, error()),
68
Q_ARG(QString, errorString()));
69
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
70
Q_ARG(QPlaceReply *,
this
),
71
Q_ARG(QPlaceReply::Error, error()),
72
Q_ARG(QString, errorString()));
73
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
74
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
75
Q_ARG(QPlaceReply *,
this
));
76
}
77
};
78
79
class
Q_LOCATION_EXPORT
QPlaceSearchReplyUnsupported
:
public
QPlaceSearchReply
80
{
81
Q_OBJECT
82
83
public
:
84
QPlaceSearchReplyUnsupported(QPlaceReply::Error errorCode,
const
QString &message,
85
QPlaceManagerEngine *parent)
86
: QPlaceSearchReply(parent)
87
{
88
setError(errorCode, message);
89
setFinished(
true
);
90
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
91
Q_ARG(QPlaceReply::Error, error()),
92
Q_ARG(QString, errorString()));
93
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
94
Q_ARG(QPlaceReply *,
this
),
95
Q_ARG(QPlaceReply::Error, error()),
96
Q_ARG(QString, errorString()));
97
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
98
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
99
Q_ARG(QPlaceReply *,
this
));
100
}
101
};
102
103
class
Q_LOCATION_EXPORT
QPlaceSearchSuggestionReplyUnsupported
:
public
QPlaceSearchSuggestionReply
104
{
105
Q_OBJECT
106
107
public
:
108
QPlaceSearchSuggestionReplyUnsupported(QPlaceManagerEngine *parent)
109
: QPlaceSearchSuggestionReply(parent)
110
{
111
setError(QPlaceReply::UnsupportedError,
112
QStringLiteral(
"Place search suggestions are not supported."
));
113
setFinished(
true
);
114
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
115
Q_ARG(QPlaceReply::Error, error()),
116
Q_ARG(QString, errorString()));
117
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
118
Q_ARG(QPlaceReply *,
this
),
119
Q_ARG(QPlaceReply::Error, error()),
120
Q_ARG(QString, errorString()));
121
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
122
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
123
Q_ARG(QPlaceReply *,
this
));
124
}
125
};
126
127
class
Q_LOCATION_EXPORT
QPlaceIdReplyUnsupported
:
public
QPlaceIdReply
128
{
129
Q_OBJECT
130
131
public
:
132
QPlaceIdReplyUnsupported(
const
QString &message, QPlaceIdReply::OperationType type,
133
QPlaceManagerEngine *parent)
134
: QPlaceIdReply(type, parent)
135
{
136
setError(QPlaceReply::UnsupportedError, message);
137
setFinished(
true
);
138
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
139
Q_ARG(QPlaceReply::Error, error()),
140
Q_ARG(QString, errorString()));
141
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
142
Q_ARG(QPlaceReply *,
this
),
143
Q_ARG(QPlaceReply::Error, error()),
144
Q_ARG(QString, errorString()));
145
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
146
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
147
Q_ARG(QPlaceReply *,
this
));
148
}
149
};
150
151
class
Q_LOCATION_EXPORT
QPlaceReplyUnsupported
:
public
QPlaceReply
152
{
153
Q_OBJECT
154
155
public
:
156
QPlaceReplyUnsupported(
const
QString &message, QPlaceManagerEngine *parent)
157
: QPlaceReply(parent)
158
{
159
setError(QPlaceReply::UnsupportedError, message);
160
setFinished(
true
);
161
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
162
Q_ARG(QPlaceReply::Error, error()),
163
Q_ARG(QString, errorString()));
164
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
165
Q_ARG(QPlaceReply *,
this
),
166
Q_ARG(QPlaceReply::Error, error()),
167
Q_ARG(QString, errorString()));
168
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
169
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
170
Q_ARG(QPlaceReply *,
this
));
171
}
172
};
173
174
class
Q_LOCATION_EXPORT
QPlaceMatchReplyUnsupported
:
public
QPlaceMatchReply
175
{
176
Q_OBJECT
177
178
public
:
179
QPlaceMatchReplyUnsupported(QPlaceManagerEngine *parent)
180
: QPlaceMatchReply(parent)
181
{
182
setError(QPlaceReply::UnsupportedError,
183
QStringLiteral(
"Place matching is not supported."
));
184
setFinished(
true
);
185
QMetaObject::invokeMethod(
this
,
"errorOccurred"
, Qt::QueuedConnection,
186
Q_ARG(QPlaceReply::Error, error()),
187
Q_ARG(QString, errorString()));
188
QMetaObject::invokeMethod(parent,
"errorOccurred"
, Qt::QueuedConnection,
189
Q_ARG(QPlaceReply *,
this
),
190
Q_ARG(QPlaceReply::Error, error()),
191
Q_ARG(QString, errorString()));
192
QMetaObject::invokeMethod(
this
,
"finished"
, Qt::QueuedConnection);
193
QMetaObject::invokeMethod(parent,
"finished"
, Qt::QueuedConnection,
194
Q_ARG(QPlaceReply *,
this
));
195
}
196
};
197
198
QT_END_NAMESPACE
199
200
#
endif
QPlaceContentReplyUnsupported
Definition
unsupportedreplies_p.h:56
QPlaceDetailsReplyUnsupported
Definition
unsupportedreplies_p.h:32
QPlaceIdReplyUnsupported
Definition
unsupportedreplies_p.h:128
QPlaceMatchReplyUnsupported
Definition
unsupportedreplies_p.h:175
QPlaceReplyUnsupported
Definition
unsupportedreplies_p.h:152
QPlaceSearchReplyUnsupported
Definition
unsupportedreplies_p.h:80
QPlaceSearchSuggestionReplyUnsupported
Definition
unsupportedreplies_p.h:104
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
places
unsupportedreplies_p.h
Generated on
for Qt by
1.18.0