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
+7 -8
View File
@@ -3,7 +3,6 @@
#include <core.h>
#include "data/camp-data.h"
#include "camp-odb.hxx"
#include "detailwidget.h"
@@ -11,29 +10,29 @@ class CampGrid : public GridForm<CampData>
{
Q_OBJECT
public:
CampGrid(QWidget *parent = NULL);
explicit CampGrid(QWidget *parent = nullptr);
// IGridForm interface
protected:
void handleNewRecord();
void handleEditRecord();
void handleNewRecord() override;
void handleEditRecord() override;
// GridForm interface
protected:
void doDelete(CampDataPtr entity);
void doDelete(CampDataPtr entity) override;
private:
void addToVoucher(CampDataPtr data);
void addToVoucher(const CampDataPtr& data);
DetailWidget *m_detail;
// IGridForm interface
protected:
void currentIndexChanged(const QModelIndex &current);
void currentIndexChanged(const QModelIndex &current) override;
// GridForm interface
protected:
virtual QList<CampDataPtr> listForGrid() override;
QList<CampDataPtr> listForGrid() override;
};
#endif // CAMPGRID_H