mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-02-08 00:32:21 -08:00
small revisions
This commit is contained in:
parent
1f880635e4
commit
40cf1a7941
9 changed files with 13 additions and 13 deletions
|
|
@ -10,7 +10,7 @@ QObject* ini() {
|
|||
if(!lisp) {
|
||||
lisp = new Lisp;
|
||||
qmlRegisterSingletonType<Lisp>("EQL5", 1, 0, "Lisp", lisp_provider);
|
||||
qmlRegisterType<PaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
qmlRegisterType<EQLPaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
return lisp; }
|
||||
|
||||
static QQmlContext* rootContext() {
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ public:
|
|||
const QJSValue& = QJSValue());
|
||||
};
|
||||
|
||||
class PaintedItem : public QQuickPaintedItem {
|
||||
class EQLPaintedItem : public QQuickPaintedItem {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
EQLPaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
|
||||
void paint(QPainter* painter) {
|
||||
eql_fun("qml:paint",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ QObject* ini() {
|
|||
if(!lisp) {
|
||||
lisp = new Lisp;
|
||||
qmlRegisterSingletonType<Lisp>("EQL5", 1, 0, "Lisp", lisp_provider);
|
||||
qmlRegisterType<PaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
qmlRegisterType<EQLPaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
return lisp; }
|
||||
|
||||
static QQmlContext* rootContext() {
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ public:
|
|||
const QJSValue& = QJSValue());
|
||||
};
|
||||
|
||||
class PaintedItem : public QQuickPaintedItem {
|
||||
class EQLPaintedItem : public QQuickPaintedItem {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
EQLPaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
|
||||
void paint(QPainter* painter) {
|
||||
eql_fun("qml:paint",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ QObject* ini() {
|
|||
if(!lisp) {
|
||||
lisp = new Lisp;
|
||||
qmlRegisterSingletonType<Lisp>("EQL5", 1, 0, "Lisp", lisp_provider);
|
||||
qmlRegisterType<PaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
qmlRegisterType<EQLPaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
return lisp; }
|
||||
|
||||
static QQmlContext* rootContext() {
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ public:
|
|||
const QJSValue& = QJSValue());
|
||||
};
|
||||
|
||||
class PaintedItem : public QQuickPaintedItem {
|
||||
class EQLPaintedItem : public QQuickPaintedItem {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
EQLPaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
|
||||
void paint(QPainter* painter) {
|
||||
eql_fun("qml:paint",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ QObject* ini() {
|
|||
if(!lisp) {
|
||||
lisp = new Lisp;
|
||||
qmlRegisterSingletonType<Lisp>("EQL5", 1, 0, "Lisp", lisp_provider);
|
||||
qmlRegisterType<PaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
qmlRegisterType<EQLPaintedItem>("EQL5", 1, 0, "PaintedItem"); }
|
||||
return lisp; }
|
||||
|
||||
static QQmlContext* rootContext() {
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ public:
|
|||
const QJSValue& = QJSValue());
|
||||
};
|
||||
|
||||
class PaintedItem : public QQuickPaintedItem {
|
||||
class EQLPaintedItem : public QQuickPaintedItem {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
PaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
EQLPaintedItem(QQuickItem* parent = 0) : QQuickPaintedItem(parent) {}
|
||||
|
||||
void paint(QPainter* painter) {
|
||||
eql_fun("qml:paint",
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@
|
|||
name)) ; Windows 8 and higher
|
||||
|
||||
(defun check-recompile (file-name)
|
||||
"Given a global file name without file ending, ensures re-compiling on every EQL5 or Qt5 version change."
|
||||
"Given a global file name without file ending, ensures re-compiling on every ECL/Qt5/EQL5 version change."
|
||||
(labels ((ver-name ()
|
||||
(format nil "~A.ver" file-name))
|
||||
(version ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue