11QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QPlaceContentRequestPrivate)
13bool QPlaceContentRequestPrivate::operator==(
const QPlaceContentRequestPrivate &other)
const
15 return contentType == other.contentType
16 && limit == other.limit;
19void QPlaceContentRequestPrivate::clear()
21 contentType = QPlaceContent::NoType;
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
47
48
49QPlaceContentRequest::QPlaceContentRequest()
50 : d_ptr(
new QPlaceContentRequestPrivate())
55
56
57QPlaceContentRequest::QPlaceContentRequest(
const QPlaceContentRequest &other)
noexcept =
default;
60
61
62QPlaceContentRequest::~QPlaceContentRequest() =
default;
65
66
67
68QPlaceContentRequest &QPlaceContentRequest::operator=(
const QPlaceContentRequest & other)
noexcept
78
79
80
83
84
85
87bool QPlaceContentRequest::isEqual(
const QPlaceContentRequest &other)
const noexcept
89 Q_D(
const QPlaceContentRequest);
90 return *d == *other.d_func();
94
95
96QPlaceContent::Type QPlaceContentRequest::contentType()
const
98 Q_D(
const QPlaceContentRequest);
99 return d->contentType;
103
104
105void QPlaceContentRequest::setContentType(QPlaceContent::Type type)
107 Q_D(QPlaceContentRequest);
108 d->contentType = type;
112
113
114QString QPlaceContentRequest::placeId()
const
116 Q_D(
const QPlaceContentRequest);
121
122
123void QPlaceContentRequest::setPlaceId(
const QString &identifier)
125 Q_D(QPlaceContentRequest);
126 d->placeId = identifier;
130
131
132QVariant QPlaceContentRequest::contentContext()
const
134 Q_D(
const QPlaceContentRequest);
135 return d->contentContext;
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153void QPlaceContentRequest::setContentContext(
const QVariant &context)
155 Q_D(QPlaceContentRequest);
156 d->contentContext = context;
160
161
162
163
164
165
166
167int QPlaceContentRequest::limit()
const
169 Q_D(
const QPlaceContentRequest);
174
175
176
177void QPlaceContentRequest::setLimit(
int limit)
179 Q_D(QPlaceContentRequest);
184
185
186void QPlaceContentRequest::clear()
188 Q_D(QPlaceContentRequest);
192inline QPlaceContentRequestPrivate *QPlaceContentRequest::d_func()
194 return static_cast<QPlaceContentRequestPrivate *>(d_ptr.data());
197inline const QPlaceContentRequestPrivate *QPlaceContentRequest::d_func()
const
199 return static_cast<
const QPlaceContentRequestPrivate *>(d_ptr.constData());