[lazarus] Qt header progress

Florian Klaempfl Florian.Klaempfl at gmx.de
Tue Sep 23 15:31:53 EDT 2003


Mattias Gaertner wrote:
>>>uses
>>>    qt;
> 
> 
> Will this be the only unit?

Yes, I want it as much as possible compatible with kylix.

>>>begin
>>>   Qt_EventDelegate:=nil;
>>>   a:=qt_new_QApplication(argc, argv);
>>>   hello:=qt_new_QPushButton1('Hello world, by FPC/Qt', nil, nil);
> 
> 
> Why the '1'?

Hmmm, an overleft from C. Because C doesn't allow overloading, methods 
with the same name get a number as prefix. I'll try to remove it in 
further versions.






More information about the Lazarus mailing list