mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
WIP: logic rewrite
WIP: adding loaders
This commit is contained in:
parent
b9b08ab384
commit
2360b261f7
1769 changed files with 124903 additions and 1963 deletions
|
@ -7,7 +7,16 @@ class {{className}};
|
|||
|
||||
class {{className}} {
|
||||
public:
|
||||
explicit {{className}}();
|
||||
|
||||
{{className}}();
|
||||
|
||||
{{className}}(const {{className}} &other);
|
||||
|
||||
/**
|
||||
* Replaces the data being hold by this class with that of the other.
|
||||
*/
|
||||
void replaceData({{className}} &other);
|
||||
|
||||
static {{className}} fromJson(QJsonObject source);
|
||||
void setFromJson(QJsonObject source);
|
||||
QJsonObject toJson();
|
||||
|
@ -34,9 +43,11 @@ public:
|
|||
void set{{p.writeName}}({{p.typeNameWithQualifiers}} new{{p.writeName}});
|
||||
|
||||
{{#if p.isNullable}}
|
||||
bool is{{p.writeName}}Null() const;
|
||||
bool {{p.name}}Null() const;
|
||||
void set{{p.writeName}}Null();
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue