Build system changed to Cmake, ORM changed to QxORM, Qt6 compatibility.
This commit is contained in:
+7
-8
@@ -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 ¤t);
|
||||
void currentIndexChanged(const QModelIndex ¤t) override;
|
||||
|
||||
// GridForm interface
|
||||
protected:
|
||||
virtual QList<CampDataPtr> listForGrid() override;
|
||||
QList<CampDataPtr> listForGrid() override;
|
||||
};
|
||||
|
||||
#endif // CAMPGRID_H
|
||||
|
||||
Reference in New Issue
Block a user