Build system changed to Cmake, ORM changed to QxORM, Qt6 compatibility.

This commit is contained in:
2023-04-28 22:25:29 +02:00
parent 30e6180c82
commit d699ce79f7
481 changed files with 2310 additions and 130206 deletions
+15 -2
View File
@@ -1,5 +1,18 @@
#include "season.h"
QX_REGISTER_CPP_CORE(Season)
namespace qx {
template <> void register_class(QxClass<Season> & t)
{
t.setName("Season");
t.id(& Season::m_id, "id");
t.data(& Season::m_name, "name");
t.data(& Season::m_validFrom, "validFrom");
t.data(& Season::m_validTo, "validTo");
t.data(& Season::m_active, "active");
}}
Season::Season(QObject *parent)
:QObject(parent)
{
@@ -47,12 +60,12 @@ void Season::setActive(bool active)
m_active = active;
}
int Season::id() const
long Season::id() const
{
return m_id;
}
void Season::setId(int id)
void Season::setId(long id)
{
m_id = id;
}