|
|
@ -69,7 +69,7 @@ class QSolState: public QObject |
|
|
|
|
|
|
|
public: |
|
|
|
QSolState(QObject* _parent, QVariantMap&& _storage, QVariantList&& _callStack, QVariantMap&& _locals, int _start, int _end, QString _sourceName): |
|
|
|
QObject(_parent), m_storage(_storage), m_callStack(_callStack), m_locals(_locals), m_start(_start), m_end(_end), m_sourceName(_sourceName) |
|
|
|
QObject(_parent), m_storage(std::move(_storage)), m_callStack(std::move(_callStack)), m_locals(std::move(_locals)), m_start(_start), m_end(_end), m_sourceName(_sourceName) |
|
|
|
{ } |
|
|
|
|
|
|
|
private: |
|
|
@ -92,7 +92,7 @@ class QCode: public QObject |
|
|
|
Q_PROPERTY(QString documentId MEMBER m_document CONSTANT) |
|
|
|
|
|
|
|
public: |
|
|
|
QCode(QObject* _owner, QString const& _address, QVariantList&& _instrunctions): QObject(_owner), m_instructions(_instrunctions), m_address(_address) {} |
|
|
|
QCode(QObject* _owner, QString const& _address, QVariantList&& _instrunctions): QObject(_owner), m_instructions(std::move(_instrunctions)), m_address(_address) {} |
|
|
|
void setDocument(QString const& _documentId) { m_document = _documentId; } |
|
|
|
|
|
|
|
private: |
|
|
@ -110,7 +110,7 @@ class QCallData: public QObject |
|
|
|
Q_PROPERTY(QVariantList items MEMBER m_items CONSTANT) |
|
|
|
|
|
|
|
public: |
|
|
|
QCallData(QObject* _owner, QVariantList&& _items): QObject(_owner), m_items(_items) {} |
|
|
|
QCallData(QObject* _owner, QVariantList&& _items): QObject(_owner), m_items(std::move(_items)) {} |
|
|
|
|
|
|
|
private: |
|
|
|
QVariantList m_items; |
|
|
@ -126,7 +126,7 @@ class QDebugData: public QObject |
|
|
|
|
|
|
|
public: |
|
|
|
QDebugData() { } |
|
|
|
void setStates(QVariantList&& _states) { m_states = _states; } |
|
|
|
void setStates(QVariantList&& _states) { m_states = std::move(_states); } |
|
|
|
|
|
|
|
private: |
|
|
|
QVariantList m_states; |
|
|
|