Skip to content

Commit

Permalink
get rid of BaseForm
Browse files Browse the repository at this point in the history
  • Loading branch information
lighterowl committed Aug 16, 2024
1 parent 7bca8fa commit 1ef0f6b
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 338 deletions.
4 changes: 2 additions & 2 deletions about.pas
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
interface

uses
BaseForm, Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics,
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, ButtonPanel, lclversion, BuildInfo,
ssl_openssl3, ssl_openssl3_lib, fpjson;

Expand All @@ -52,7 +52,7 @@ interface

{ TAboutForm }

TAboutForm = class(TBaseForm)
TAboutForm = class(TForm)
Bevel1: TBevel;
Buttons: TButtonPanel;
edLicense: TMemo;
Expand Down
4 changes: 2 additions & 2 deletions addlink.pas
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ButtonPanel, ExtCtrls, BaseForm;
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ButtonPanel, ExtCtrls;

resourcestring
SNoLink = 'No link was specified.';
Expand All @@ -46,7 +46,7 @@ interface

{ TAddLinkForm }

TAddLinkForm = class(TBaseForm)
TAddLinkForm = class(TForm)
Buttons: TButtonPanel;
edLink: TEdit;
Panel1: TPanel;
Expand Down
4 changes: 2 additions & 2 deletions addtorrent.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, Spin, VarGrid, Grids, ButtonPanel, ExtCtrls, Buttons, BaseForm,
StdCtrls, Spin, VarGrid, Grids, ButtonPanel, ExtCtrls, Buttons,
varlist, fpjson, StrUtils, DateUtils, LazUTF8;

resourcestring
Expand All @@ -51,7 +51,7 @@ TFilesTree = class;

{ TAddTorrentForm }

TAddTorrentForm = class(TBaseForm)
TAddTorrentForm = class(TForm)
DelButton: TBitBtn;
btSelectAll: TButton;
btSelectNone: TButton;
Expand Down
4 changes: 2 additions & 2 deletions addtracker.pas
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ButtonPanel, StdCtrls, ExtCtrls, BaseForm;
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ButtonPanel, StdCtrls, ExtCtrls;

resourcestring
STrackerProps = 'Tracker properties';
Expand All @@ -45,7 +45,7 @@ interface

{ TAddTrackerForm }

TAddTrackerForm = class(TBaseForm)
TAddTrackerForm = class(TForm)
Buttons: TButtonPanel;
edTracker: TEdit;
Panel1: TPanel;
Expand Down
7 changes: 0 additions & 7 deletions baseform.lfm

This file was deleted.

269 changes: 0 additions & 269 deletions baseform.pas

This file was deleted.

4 changes: 2 additions & 2 deletions colsetup.pas
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ComCtrls, CheckLst, StdCtrls, ButtonPanel, ExtCtrls, VarGrid, BaseForm;
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ComCtrls, CheckLst, StdCtrls, ButtonPanel, ExtCtrls, VarGrid;

type

{ TColSetupForm }

TColSetupForm = class(TBaseForm)
TColSetupForm = class(TForm)
btDown: TButton;
btUp: TButton;
Buttons: TButtonPanel;
Expand Down
4 changes: 2 additions & 2 deletions connoptions.pas
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
interface

uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, Spin, ComCtrls, Buttons, ButtonPanel, ExtCtrls, BaseForm, ResTranslator;
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, Spin, ComCtrls, Buttons, ButtonPanel, ExtCtrls, ResTranslator;

const
DefSpeeds = '0,10,25,50,100,250,500,750,1000,2500,5000,7000';
Expand All @@ -50,7 +50,7 @@ interface

{ TConnOptionsForm }

TConnOptionsForm = class(TBaseForm)
TConnOptionsForm = class(TForm)
btNew: TButton;
btDel: TButton;
btRename: TButton;
Expand Down
Loading

0 comments on commit 1ef0f6b

Please sign in to comment.