blob: 0203718d026f29f3decac251390a2849701a2fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "objectnodeinstance.h"
namespace QmlDesigner {
namespace Internal {
class BehaviorNodeInstance : public ObjectNodeInstance
{
public:
using Pointer = QSharedPointer<BehaviorNodeInstance>;
using WeakPointer = QWeakPointer<BehaviorNodeInstance>;
BehaviorNodeInstance(QObject *object);
static Pointer create(QObject *objectToBeWrapped);
QVariant property(const PropertyName &name) const override;
void resetProperty(const PropertyName &name) override;
PropertyNameList ignoredProperties() const override;
private:
bool m_isEnabled;
};
} // namespace Internal
} // namespace QmlDesigner
|