10QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QPlaceContentRequestPrivate)
12bool QPlaceContentRequestPrivate::operator==(
const QPlaceContentRequestPrivate &other)
const
14 return contentType == other.contentType
15 && limit == other.limit;
18void QPlaceContentRequestPrivate::clear()
20 contentType = QPlaceContent::NoType;
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
46
47
48QPlaceContentRequest::QPlaceContentRequest()
49 : d_ptr(
new QPlaceContentRequestPrivate())
54
55
56QPlaceContentRequest::QPlaceContentRequest(
const QPlaceContentRequest &other)
noexcept =
default;
59
60
61QPlaceContentRequest::~QPlaceContentRequest() =
default;
64
65
66
67QPlaceContentRequest &QPlaceContentRequest::operator=(
const QPlaceContentRequest & other)
noexcept
77
78
79
82
83
84
86bool QPlaceContentRequest::isEqual(
const QPlaceContentRequest &other)
const noexcept
88 Q_D(
const QPlaceContentRequest);
89 return *d == *other.d_func();
93
94
95QPlaceContent::Type QPlaceContentRequest::contentType()
const
97 Q_D(
const QPlaceContentRequest);
98 return d->contentType;
102
103
104void QPlaceContentRequest::setContentType(QPlaceContent::Type type)
106 Q_D(QPlaceContentRequest);
107 d->contentType = type;
111
112
113QString QPlaceContentRequest::placeId()
const
115 Q_D(
const QPlaceContentRequest);
120
121
122void QPlaceContentRequest::setPlaceId(
const QString &identifier)
124 Q_D(QPlaceContentRequest);
125 d->placeId = identifier;
129
130
131QVariant QPlaceContentRequest::contentContext()
const
133 Q_D(
const QPlaceContentRequest);
134 return d->contentContext;
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152void QPlaceContentRequest::setContentContext(
const QVariant &context)
154 Q_D(QPlaceContentRequest);
155 d->contentContext = context;
159
160
161
162
163
164
165
166int QPlaceContentRequest::limit()
const
168 Q_D(
const QPlaceContentRequest);
173
174
175
176void QPlaceContentRequest::setLimit(
int limit)
178 Q_D(QPlaceContentRequest);
183
184
185void QPlaceContentRequest::clear()
187 Q_D(QPlaceContentRequest);
191inline QPlaceContentRequestPrivate *QPlaceContentRequest::d_func()
193 return static_cast<QPlaceContentRequestPrivate *>(d_ptr.data());
196inline const QPlaceContentRequestPrivate *QPlaceContentRequest::d_func()
const
198 return static_cast<
const QPlaceContentRequestPrivate *>(d_ptr.constData());