blob: fd4d5b9723914952cdca8ce8cf2798d67c5b48c0 (
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
32
33
34
35
36
37
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <qmldesignercorelib_global.h>
#include "qmlmodelnodefacade.h"
#include <signalhandlerproperty.h>
namespace QmlDesigner {
class StatesEditorView;
class QMLDESIGNERCORE_EXPORT QmlConnections : public QmlModelNodeFacade
{
friend StatesEditorView;
public:
QmlConnections();
QmlConnections(const ModelNode &modelNode);
bool isValid() const override;
static bool isValidQmlConnections(const ModelNode &modelNode);
void destroy();
QString target() const;
void setTarget(const QString &target);
ModelNode getTargetNode() const;
QList<SignalHandlerProperty> signalProperties() const;
static ModelNode createQmlConnections(AbstractView *view);
};
} //QmlDesigner
|