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
qdeclarativecontactdetails_p.h
Go to the documentation of this file.
1// Copyright (C) 2022 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 QDECLARATIVECONTACTDETAIL_P_H
5#define QDECLARATIVECONTACTDETAIL_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtLocation/private/qlocationglobal_p.h>
19#include <QtQml/QQmlPropertyMap>
20#include <QtQml/qqml.h>
21
23
24class Q_LOCATION_EXPORT QDeclarativeContactDetails : public QQmlPropertyMap
25{
27 QML_NAMED_ELEMENT(ContactDetails)
29 QML_UNCREATABLE("ContactDetails instances cannot be instantiated. "
30 "Only Place types have ContactDetails and they cannot "
31 "be re-assigned (but can be modified).")
32
33public:
34 explicit QDeclarativeContactDetails(QObject *parent = nullptr);
35 QVariant updateValue(const QString &key, const QVariant &input) override;
36};
37
39
41
42#endif
\inmodule QtCore
Definition qobject.h:103
The QQmlPropertyMap class allows you to set key-value pairs that can be used in QML bindings.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
GLuint64 key
GLenum GLenum GLenum input
#define QML_DECLARE_TYPE(TYPE)
Definition qqml.h:19
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT