aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qmltransitionnodeinstance.h
blob: 2fa9aca12734e0be4f1ab510ecde63f3c80bb742 (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
// 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 QmlTransitionNodeInstance : public ObjectNodeInstance
{
public:
    using Pointer = QSharedPointer<QmlTransitionNodeInstance>;
    using WeakPointer = QWeakPointer<QmlTransitionNodeInstance>;

    static Pointer create(QObject *objectToBeWrapped);

    bool isTransition() const override;

    PropertyNameList ignoredProperties() const override;

private:
    QmlTransitionNodeInstance(QObject *transition);
};
}
}