(cd4db512ae08836f5fa1d746000052215cf70a9c)
#include "qplacesearchresult.h"
#include "qplacesearchrequest.h"
#include <QSharedData>
#include <QtLocation/QPlaceIcon>
Go to the source code of this file.
◆ Q_DEFINE_SEARCHRESULT_PRIVATE_HELPER
#define Q_DEFINE_SEARCHRESULT_PRIVATE_HELPER |
( |
| Class, |
|
|
| ResultType ) |
Value:
static void copyIfPossible(QSharedDataPointer<QPlaceSearchResultPrivate> &d_ptr,
const QPlaceSearchResult &
other) \
{ \
if (
other.type() == ResultType) \
d_ptr = extract_d(
other); \
else \
}
SearchResultType
Defines the type of search result.
Definition at line 34 of file qplacesearchresult_p.h.
◆ Q_IMPLEMENT_SEARCHRESULT_COPY_CTOR
◆ Q_IMPLEMENT_SEARCHRESULT_D_FUNC
#define Q_IMPLEMENT_SEARCHRESULT_D_FUNC |
( |
| Class | ) |
|
Value: Class##
Private *Class::d_func() {
return reinterpret_cast<Class##
Private *
>(d_ptr.data()); } \
const Class##
Private *Class::d_func()
const {
return reinterpret_cast<const Class##
Private *
>(d_ptr.constData()); } \
Definition at line 27 of file qplacesearchresult_p.h.