mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-24 13:30:45 -08:00
a bunch of revisions
This commit is contained in:
parent
1220bf06dc
commit
113386fdae
16 changed files with 109 additions and 112 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "lib.h"
|
||||
#include "../../src/cpp/ecl_fun.h" // for calling Lisp
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
#include <QtDebug>
|
||||
|
|
@ -19,7 +20,10 @@ QObject* ini() {
|
|||
return cpp;
|
||||
}
|
||||
|
||||
// functiones defined Q_INVOKABLE
|
||||
|
||||
QVariant CPP::hello(const QVariant& arg) {
|
||||
|
||||
QString msg;
|
||||
QDebug debug(&msg);
|
||||
debug << arg;
|
||||
|
|
@ -29,4 +33,9 @@ QVariant CPP::hello(const QVariant& arg) {
|
|||
return arg;
|
||||
}
|
||||
|
||||
QVariant CPP::callLisp(const QVariant& arg) {
|
||||
|
||||
return ecl_fun("cl:format", false, "~R", arg);
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue