Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qdeclarativepluginparameter_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QDECLARATIVEPLUGINPARAMETER_P_H
6
#
define
QDECLARATIVEPLUGINPARAMETER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtPositioningQuick
/
private
/
qpositioningquickglobal_p
.
h
>
20
#
include
<
QtQml
/
qqml
.
h
>
21
#
include
<
QtCore
/
QMap
>
22
#
include
<
QtCore
/
QString
>
23
#
include
<
QtCore
/
QStringList
>
24
#
include
<
QtCore
/
QVariant
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
Q_POSITIONINGQUICK_EXPORT
QDeclarativePluginParameter
:
public
QObject
29
{
30
Q_OBJECT
31
QML_NAMED_ELEMENT(PluginParameter)
32
QML_ADDED_IN_VERSION(5, 14)
33
34
Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
35
Q_PROPERTY(QVariant value READ value WRITE setValue NOTIFY valueChanged)
36
37
public
:
38
explicit
QDeclarativePluginParameter(QObject *parent = 0);
39
~QDeclarativePluginParameter();
40
41
void
setName(
const
QString &name);
42
QString name()
const
;
43
44
void
setValue(
const
QVariant &value);
45
QVariant value()
const
;
46
47
bool
isInitialized()
const
;
48
49
Q_SIGNALS:
50
void
nameChanged(
const
QString &name);
51
void
valueChanged(
const
QVariant &value);
52
void
initialized();
53
54
private
:
55
QString name_;
56
QVariant value_;
57
};
58
59
60
QT_END_NAMESPACE
61
62
QML_DECLARE_TYPE(
QDeclarativePluginParameter
)
63
64
#
endif
// QDECLARATIVEPLUGINPARAMETER_P_H
QDeclarativePluginParameter
Definition
qdeclarativepluginparameter_p.h:29
qtpositioning
src
positioningquick
qdeclarativepluginparameter_p.h
Generated on
for Qt by
1.18.0