"quick": rename "Lisp.fun()" to "Lisp.call()"; allow optionally passing JS "this" (a QQuickItem) as first argument;

This commit is contained in:
polos 2017-01-26 20:37:44 +01:00
parent 9e09c38766
commit 2aee9968c6
14 changed files with 117 additions and 44 deletions

View file

@ -17,7 +17,7 @@ class Lisp : public QObject {
Q_OBJECT
public:
Q_INVOKABLE QVariant apply(const QString&, const QVariantList& = QVariantList());
Q_INVOKABLE QVariant apply(QObject*, const QString&, const QVariantList& = QVariantList());
};
QT_END_NAMESPACE