Qt 6.x
The Qt SDK
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
4#ifndef QDECLARATIVEPLUGINPARAMETER_P_H
5#define QDECLARATIVEPLUGINPARAMETER_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 <QtPositioningQuick/private/qpositioningquickglobal_p.h>
19#include <QtQml/qqml.h>
20#include <QtCore/QMap>
21#include <QtCore/QString>
22#include <QtCore/QStringList>
23#include <QtCore/QVariant>
24
26
27class Q_POSITIONINGQUICK_PRIVATE_EXPORT QDeclarativePluginParameter : public QObject
28{
30 QML_NAMED_ELEMENT(PluginParameter)
32
33 Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged)
34 Q_PROPERTY(QVariant value READ value WRITE setValue NOTIFY valueChanged)
35
36public:
39
40 void setName(const QString &name);
41 QString name() const;
42
43 void setValue(const QVariant &value);
44 QVariant value() const;
45
46 bool isInitialized() const;
47
49 void nameChanged(const QString &name);
52
53private:
54 QString name_;
55 QVariant value_;
56};
57
58
60
62
63#endif // QDECLARATIVEPLUGINPARAMETER_P_H
void valueChanged(const QVariant &value)
void nameChanged(const QString &name)
\inmodule QtCore
Definition qobject.h:90
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qvariant.h:64
employee setName("Richard Schmit")
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint name
#define QML_DECLARE_TYPE(TYPE)
Definition qqml.h:19
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
settings setValue("DataPump/bgcolor", color)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent