mirror of https://gitlab.com/basile.b/dexed.git
rather use auto class d/ctor
This commit is contained in:
parent
be91856958
commit
0f385033a7
|
@ -21,8 +21,8 @@ type
|
||||||
procedure getList(sender: TObject);
|
procedure getList(sender: TObject);
|
||||||
public
|
public
|
||||||
class function showAndWait(out value: string): TModalResult; static;
|
class function showAndWait(out value: string): TModalResult; static;
|
||||||
class procedure classCtor;
|
class constructor classCtor;
|
||||||
class procedure classDtor;
|
class destructor classDtor;
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
property text: string read getText;
|
property text: string read getText;
|
||||||
end;
|
end;
|
||||||
|
@ -180,12 +180,12 @@ begin
|
||||||
itm.Selected := True;
|
itm.Selected := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TDubPackageQueryForm.classCtor;
|
class constructor TDubPackageQueryForm.classCtor;
|
||||||
begin
|
begin
|
||||||
fList := TStringList.Create;
|
fList := TStringList.Create;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
class procedure TDubPackageQueryForm.classDtor;
|
class destructor TDubPackageQueryForm.classDtor;
|
||||||
begin
|
begin
|
||||||
fList.Free;
|
fList.Free;
|
||||||
end;
|
end;
|
||||||
|
@ -797,8 +797,4 @@ begin
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
|
||||||
TDubPackageQueryForm.classCtor;
|
|
||||||
finalization
|
|
||||||
TDubPackageQueryForm.classDtor;
|
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue