Build system changed to Cmake, ORM changed to QxORM, Qt6 compatibility.
This commit is contained in:
+15
-2
@@ -1,4 +1,17 @@
|
||||
#include "system.h"
|
||||
#include <QxOrm_Impl.h>
|
||||
|
||||
QX_REGISTER_CPP_CORE(System)
|
||||
|
||||
namespace qx {
|
||||
template <> void register_class(QxClass<System> & t)
|
||||
{
|
||||
t.setName("system");
|
||||
t.id(& System::m_id, "id");
|
||||
t.data(& System::m_pluginId, "pluginId");
|
||||
t.data(& System::m_schemaVersion, "schemaVersion");
|
||||
t.data(& System::m_settings, "settings");
|
||||
}}
|
||||
|
||||
System::System()
|
||||
{
|
||||
@@ -10,12 +23,12 @@ System::~System()
|
||||
|
||||
}
|
||||
|
||||
int System::id() const
|
||||
long System::id() const
|
||||
{
|
||||
return m_id;
|
||||
}
|
||||
|
||||
void System::setId(int id)
|
||||
void System::setId(long id)
|
||||
{
|
||||
m_id = id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user