4#ifndef QDECLARATIVEGEOCODEMODEL_H
5#define QDECLARATIVEGEOCODEMODEL_H
18#include <QtLocation/private/qlocationglobal_p.h>
19#include <QtLocation/private/qdeclarativegeoserviceprovider_p.h>
21#include <QtLocation/qgeocodereply.h>
22#include <QtPositioningQuick/private/qdeclarativegeoaddress_p.h>
23#include <QtPositioningQuick/private/qdeclarativegeolocation_p.h>
25#include <QtQml/qqml.h>
26#include <QtQml/QQmlParserStatus>
27#include <QAbstractListModel>
45 Q_PROPERTY(
bool autoUpdate READ autoUpdate WRITE setAutoUpdate NOTIFY autoUpdateChanged)
75 UnknownParameterError = 100,
76 MissingRequiredParameterError
88 void componentComplete()
override;
91 int rowCount(
const QModelIndex &parent)
const override;
93 QHash<int,QByteArray> roleNames()
const override;
98 void setBounds(
const QVariant &boundingArea);
101 Status status()
const;
103 GeocodeError
error()
const;
105 bool autoUpdate()
const;
106 void setAutoUpdate(
bool update);
112 void setLimit(
int limit);
114 void setOffset(
int offset);
137 void queryContentChanged();
146 void setStatus(
Status status);
148 bool autoUpdate_ =
false;
149 bool complete_ =
false;
152 void setLocations(
const QList<QGeoLocation> &
locations);
159 QList<QDeclarativeGeoLocation *> declarativeLocations_;
void classBegin() override
Invoked after class creation, but before any properties have been set.
QGeoCodingManager * searchManager()
Error
Describes an error which prevented the completion of the operation.
The QQmlParserStatus class provides updates on the QML parser state.
\macro QT_RESTRICTED_CAST_FROM_ASCII
void statusChanged(QQmlComponent::Status status)
[1]
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
static QDBusError::ErrorType get(const char *name)
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLintptr offset
GLuint const GLint * locations
#define QML_NAMED_ELEMENT(NAME)
static void setError(QJsonObject *response, const QString &msg)
qDebug()<< QUrl("file copy setQuery(copy.query(QUrl::FullyDecoded), QUrl::DecodedMode)