|
|
@ -157,7 +157,7 @@ class GasMap: public QObject |
|
|
|
Q_PROPERTY(bool isInfinite MEMBER m_isInfinite CONSTANT) |
|
|
|
|
|
|
|
public: |
|
|
|
GasMap(int _start, int _end, QString _gas, bool _isInfinite, QObject* _parent): QObject(_parent), m_start(_start), m_end(_end), m_gas(_gas), m_isInfinite(_isInfinite) { QQmlEngine::setObjectOwnership(this, QQmlEngine::JavaScriptOwnership); } |
|
|
|
GasMap(int _start, int _end, QString _gas, bool _isInfinite, QObject* _parent): QObject(_parent), m_start(_start), m_end(_end), m_gas(_gas), m_isInfinite(_isInfinite) {} |
|
|
|
|
|
|
|
int m_start; |
|
|
|
int m_end; |
|
|
|