Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qplaceresult.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
4#ifndef QPLACERESULT_H
5#define QPLACERESULT_H
6
7#include <QtLocation/QPlaceSearchResult>
8
10
11class QPlace;
13
14class Q_LOCATION_EXPORT QPlaceResult : public QPlaceSearchResult
15{
16public:
18
19#ifdef Q_QDOC
21#else
23#endif
24
25 virtual ~QPlaceResult();
26
27 qreal distance() const;
28 void setDistance(qreal distance);
29
30 QPlace place() const;
31 void setPlace(const QPlace &place);
32
33 bool isSponsored() const;
34 void setSponsored(bool sponsored);
35
36private:
38};
39
41
43
44#endif
\inmodule QtLocation
QPlaceResult()
Constructs a new place result object.
\inmodule QtLocation
\inmodule QtLocation
Definition qplace.h:25
Combined button and popup list for selecting options.
GLsizei GLsizei GLfloat distance
#define Q_DECLARE_SEARCHRESULT_COPY_CTOR(Class)
#define Q_DECLARE_SEARCHRESULT_D_FUNC(Class)
@ Q_RELOCATABLE_TYPE
Definition qtypeinfo.h:158
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
Definition qtypeinfo.h:180
double qreal
Definition qtypes.h:187
QSharedPointer< T > other(t)
[5]