mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-13 21:01:07 -08:00
remove 'import Lisp 1.0' (obsolete)
This commit is contained in:
parent
a4caf3330c
commit
9114e28b92
9 changed files with 7 additions and 24 deletions
|
|
@ -4,18 +4,6 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
static Lisp* lisp = 0;
|
||||
|
||||
static QObject* lisp_provider(QQmlEngine*, QJSEngine*) { return lisp; }
|
||||
|
||||
QObject* iniQml() {
|
||||
if (!lisp) {
|
||||
lisp = new Lisp;
|
||||
qmlRegisterSingletonType<Lisp>("Lisp", 1, 0, "Lisp", lisp_provider);
|
||||
}
|
||||
return lisp;
|
||||
}
|
||||
|
||||
static QVariant qmlApply(QObject* caller,
|
||||
const QString& function,
|
||||
const QVariantList& arguments) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue