GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
Eng
CustomersModel.h
Go to the documentation of this file.
1
#line 2 "src/Eng/CustomersModel.h"
2
3
#ifndef __ENG_CUSTOMERSMODEL_H___
4
#define __ENG_CUSTOMERSMODEL_H___
5
6
#include <Wt/WStandardItemModel.h>
7
#include <Wt/Dbo/QueryModel.h>
8
9
#include "../Dbo/Customers/Customers.h"
10
11
namespace
GCW
{
12
namespace
Eng {
13
14
class
CustomersModel
15
//: public Wt::WStandardItemModel
16
:
public
Wt::Dbo::QueryModel
< GCW::Dbo::Customers::Item::Ptr >
17
{
18
public
:
19
20
CustomersModel
();
21
CustomersModel
(
const
std::vector< Wt::WFormModel::Field > & _fields );
22
23
auto
guid
(
int
_row )-> std::string;
24
25
auto
refreshFromDisk
()-> void ;
26
27
private
:
28
29
std::vector< Wt::WFormModel::Field >
m_fields
;
30
31
};
// endclass CustomersModel
32
33
}
// namespace Eng {
34
}
// endnamespace GCW {
35
36
37
#endif
// #ifndef __ENG_CUSTOMERSMODEL_H___
38
39
40
GCW::Eng::CustomersModel
Definition
CustomersModel.h:17
GCW::Eng::CustomersModel::refreshFromDisk
auto refreshFromDisk() -> void
Refresh From Disk.
Definition
CustomersModel.cpp:52
GCW::Eng::CustomersModel::m_fields
std::vector< Wt::WFormModel::Field > m_fields
Definition
CustomersModel.h:29
GCW::Eng::CustomersModel::guid
auto guid(int _row) -> std::string
Definition
CustomersModel.cpp:83
GCW::Eng::CustomersModel::CustomersModel
CustomersModel()
Definition
CustomersModel.cpp:9
Wt::Dbo::QueryModel
GCW
Definition
App.h:18
Generated on Sat Sep 13 2025 08:48:27 for GnuCashew ~ Web Application compatible with GnuCash sql data files. by
1.9.8