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
qplacematchrequest.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
QPLACEMATCHREQUEST_H
6
#
define
QPLACEMATCHREQUEST_H
7
8
#
include
<
QtLocation
/
qlocationglobal
.
h
>
9
#
include
<
QtCore
/
QSharedDataPointer
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QPlace;
14
class
QPlaceSearchResult;
15
class
QPlaceMatchRequestPrivate
;
16
QT_DECLARE_QSDP_SPECIALIZATION_DTOR_WITH_EXPORT(
QPlaceMatchRequestPrivate
, Q_LOCATION_EXPORT)
17
18
class
Q_LOCATION_EXPORT
QPlaceMatchRequest
19
{
20
public
:
21
static
const
QString AlternativeId;
22
23
QPlaceMatchRequest();
24
QPlaceMatchRequest(
const
QPlaceMatchRequest &other)
noexcept
;
25
QPlaceMatchRequest(QPlaceMatchRequest &&other)
noexcept
=
default
;
26
~QPlaceMatchRequest();
27
28
QPlaceMatchRequest &operator=(
const
QPlaceMatchRequest &other)
noexcept
;
29
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QPlaceMatchRequest)
30
31
void
swap(QPlaceMatchRequest &other)
noexcept
{ d_ptr.swap(other.d_ptr); }
32
33
friend
inline
bool
operator==(
const
QPlaceMatchRequest &lhs,
const
QPlaceMatchRequest &rhs)
noexcept
34
{
return
lhs.isEqual(rhs); }
35
friend
inline
bool
operator!=(
const
QPlaceMatchRequest &lhs,
const
QPlaceMatchRequest &rhs)
noexcept
36
{
return
!lhs.isEqual(rhs); }
37
38
QList<QPlace> places()
const
;
39
void
setPlaces(
const
QList<QPlace> &places);
40
41
void
setResults(
const
QList<QPlaceSearchResult> &results);
42
43
QVariantMap parameters()
const
;
44
void
setParameters(
const
QVariantMap ¶meters);
45
46
void
clear();
47
48
private
:
49
QSharedDataPointer<QPlaceMatchRequestPrivate> d_ptr;
50
51
bool
isEqual(
const
QPlaceMatchRequest &other)
const
noexcept
;
52
inline
QPlaceMatchRequestPrivate *d_func();
53
inline
const
QPlaceMatchRequestPrivate *d_func()
const
;
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
QPlaceMatchReplyPrivate
Definition
qplacematchreply.cpp:13
QPlaceMatchReplyPrivate::request
QPlaceMatchRequest request
Definition
qplacematchreply.cpp:16
QPlaceMatchReplyPrivate::places
QList< QPlace > places
Definition
qplacematchreply.cpp:15
QPlaceMatchRequestPrivate
Definition
qplacematchrequest.cpp:15
QPlaceMatchRequest
\inmodule QtLocation
Definition
qplacematchrequest.h:19
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtlocation
src
location
places
qplacematchrequest.h
Generated on
for Qt by
1.18.0