Add script function to the model

This is needed to suppert inline script function of Qml in the designer
This commit is contained in:
Marco Bubke
2010-06-10 17:36:14 +02:00
parent 24f07b7a72
commit 35263628d1
26 changed files with 129 additions and 3 deletions

View File

@@ -56,6 +56,11 @@ void DesignDocumentControllerView::selectedNodesChanged(const QList<ModelNode> &
void DesignDocumentControllerView::nodeOrderChanged(const NodeListProperty & /*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {};
void DesignDocumentControllerView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/)
{
}
static QStringList arrayToStringList(const QByteArray &byteArray)
{
QString str(QString::fromLatin1(byteArray));