static functions currently not callable from QML
see also https://musescore.org/en/node/93976#comment-415076
This commit is contained in:
parent
2dfb01919c
commit
ad028546ef
1 changed files with 1 additions and 2 deletions
|
@ -528,8 +528,7 @@ class Element : public QObject, public ScoreElement {
|
|||
void setStartDragPosition(const QPointF& v) { _startDragPosition = v; }
|
||||
|
||||
static const char* name(Element::Type type);
|
||||
//@ Creates an element of Type type, belonging to the Score
|
||||
Q_INVOKABLE static Ms::Element* create(Ms::Element::Type type, Score*);
|
||||
static Ms::Element* create(Ms::Element::Type type, Score*);
|
||||
static Element::Type name2type(const QStringRef&);
|
||||
static Element* name2Element(const QStringRef&, Score*);
|
||||
|
||||
|
|
Loading…
Reference in a new issue