mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-27 23:22:57 +02:00
91 lines
2.7 KiB
ObjectPascal
91 lines
2.7 KiB
ObjectPascal
{ $Id$}
|
|
{
|
|
*****************************************************************************
|
|
* qtwsmenus.pp *
|
|
* ------------ *
|
|
* *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.LCL, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
unit qtwsmenus;
|
|
|
|
{$mode objfpc}{H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To get as litle as posible circles,
|
|
// Uncomment only when needed for registration
|
|
////////////////////////////////////////////////////
|
|
// menus,
|
|
////////////////////////////////////////////////////
|
|
wsmenus, wslclclasses;
|
|
|
|
type
|
|
|
|
{ TQtWSMenuItem }
|
|
|
|
TQtWSMenuItem = class(TWSMenuItem)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSMenu }
|
|
|
|
TQtWSMenu = class(TWSMenu)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSMainMenu }
|
|
|
|
TQtWSMainMenu = class(TWSMainMenu)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSPopupMenu }
|
|
|
|
TQtWSPopupMenu = class(TWSPopupMenu)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
initialization
|
|
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To improve speed, register only classes
|
|
// which actually implement something
|
|
////////////////////////////////////////////////////
|
|
// RegisterWSComponent(TMenuItem, TQtWSMenuItem);
|
|
// RegisterWSComponent(TMenu, TQtWSMenu);
|
|
// RegisterWSComponent(TMainMenu, TQtWSMainMenu);
|
|
// RegisterWSComponent(TPopupMenu, TQtWSPopupMenu);
|
|
////////////////////////////////////////////////////
|
|
end.
|