mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-07 11:00:45 -08:00
add examples in "quick/item-model"; lots of minor revisions;
This commit is contained in:
parent
d773093dbd
commit
376b7caed4
55 changed files with 3410 additions and 3006 deletions
25
examples/M-modules/quick/item-model/lib/qml_lisp.h
Normal file
25
examples/M-modules/quick/item-model/lib/qml_lisp.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef LIB_H
|
||||
#define LIB_H
|
||||
|
||||
#include <QtQml>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
extern "C" { LIB_EXPORT QObject* ini(); }
|
||||
|
||||
class Lisp : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Q_INVOKABLE QVariant apply(QObject*, const QString&, const QVariantList& = QVariantList());
|
||||
};
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue