10QT_DEFINE_QSDP_SPECIALIZATION_DTOR(QPlaceSupplierPrivate)
12bool QPlaceSupplierPrivate::operator==(
const QPlaceSupplierPrivate &other)
const
15 this->name == other.name
16 &&
this->supplierId == other.supplierId
17 &&
this->url == other.url
18 &&
this->icon == other.icon
22bool QPlaceSupplierPrivate::isEmpty()
const
24 return (name.isEmpty()
25 && supplierId.isEmpty()
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
77
78
79QPlaceSupplier::QPlaceSupplier()
80 : d(
new QPlaceSupplierPrivate)
85
86
87QPlaceSupplier::QPlaceSupplier(
const QPlaceSupplier &other)
noexcept =
default;
90
91
92QPlaceSupplier::~QPlaceSupplier() =
default;
95
96
97
98QPlaceSupplier &QPlaceSupplier::operator=(
const QPlaceSupplier &other)
noexcept
108
109
110
111
114
115
116
117
119bool QPlaceSupplier::isEqual(
const QPlaceSupplier &other)
const noexcept
121 return (*(d.constData()) == *(other.d.constData()));
125
126
127
128
129
130
131
132
133
136
137
138
139
140
141
142
143QString QPlaceSupplier::name()
const
149
150
151void QPlaceSupplier::setName(
const QString &name)
157
158
159
160
161
162
165
166
167
168
169
170
171QString QPlaceSupplier::supplierId()
const
173 return d->supplierId;
177
178
179void QPlaceSupplier::setSupplierId(
const QString &identifier)
181 d->supplierId = identifier;
185
186
187
188
191
192
193
194QUrl QPlaceSupplier::url()
const
200
201
202void QPlaceSupplier::setUrl(
const QUrl &url)
208
209
210
211
214
215
216
217QPlaceIcon QPlaceSupplier::icon()
const
223
224
225void QPlaceSupplier::setIcon(
const QPlaceIcon &icon)
231
232
233bool QPlaceSupplier::isEmpty()
const
238#include "moc_qplacesupplier.cpp"