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
qplacereply.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 QPLACEREPLY_H
5#define QPLACEREPLY_H
6
7#include <QtCore/QMetaType>
8#include <QtCore/QObject>
9#include <QtLocation/qlocationglobal.h>
10
12
14class Q_LOCATION_EXPORT QPlaceReply : public QObject
15{
17public:
30
40
41 explicit QPlaceReply(QObject *parent = nullptr);
43
44 bool isFinished() const;
45
46 virtual Type type() const;
47
48 QString errorString() const;
50
51public Q_SLOTS:
52 virtual void abort();
53
55 void finished();
57 void aborted();
58 void errorOccurred(QPlaceReply::Error error, const QString &errorString = QString());
59
60protected:
61 explicit QPlaceReply(QPlaceReplyPrivate *, QObject *parent = nullptr);
62 void setFinished(bool finished);
63 void setError(QPlaceReply::Error error, const QString &errorString);
65
66private:
67 Q_DISABLE_COPY(QPlaceReply)
68};
69
71
74
75#endif // QPLACEREPLY_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtLocation
Definition qplacereply.h:15
QPlaceReplyPrivate * d_ptr
Definition qplacereply.h:64
void errorOccurred(QPlaceReply::Error error, const QString &errorString=QString())
This signal is emitted when an error has been detected in the processing of this reply.
@ SearchSuggestionReply
Definition qplacereply.h:35
void finished()
This signal is emitted when this reply has finished processing.
Error
Describes an error which occurred during an operation.
Definition qplacereply.h:18
@ PlaceDoesNotExistError
Definition qplacereply.h:20
@ CategoryDoesNotExistError
Definition qplacereply.h:21
void aborted()
void contentUpdated()
This signal is emitted when this reply has updated content available.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
DBusConnection const char DBusError * error
#define Q_DECLARE_METATYPE(TYPE)
Definition qmetatype.h:1525
GLenum type
static void setError(QJsonObject *response, const QString &msg)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS
Definition moc.h:23