[Qt] TQColor and QColorH

zeljko zeljko at holobit.net
Mon Sep 17 08:24:39 CEST 2007


On Sunday 16 September 2007 18:07, Павел Ишенин wrote:
> Hello, Items specific to the Qt widget set
>
> Just a question.
>
> In some places I found such use of TQColor and QColorH
>
> var
>   C: TQColor;
> begin
>   QColor_setRgb(QColorH(@C),Red(AColor),Green(AColor),Blue(AColor));
> end;
>
> Is it true, that PQColor can be casted as QColorH? It is rather strange
> for me.

yep, Den pascalified some classes. Look here:

http://wiki.freepascal.org/index.php/Qt4_binding


zeljko




More information about the Qt mailing list