Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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{
26 Q_OBJECT
27 QML_NAMED_ELEMENT(ContactDetails)
28 QML_ADDED_IN_VERSION(5, 0)
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
38QT_END_NAMESPACE
39
40QML_DECLARE_TYPE(QDeclarativeContactDetails)
41
42#endif