[Qt] WidgetSet.AddEventHandler and friends

Ales Katona almindor at gmail.com
Sat Feb 16 15:47:28 CET 2008


zeljko  wrote / napĂ­sal(a):
> You have also QAbstractSocket for implementing common sockets ?
>   
Useless for this purpose.
> What is INet ? if you really need QSocketNotifier and listen read,write, 
> exception events then I'm not sure if U need to subclass it.
> You can override default EventFilter and add SockAct event, then check when 
> socket was activated on Sender parameter of EventFilter (Sender should be the 
> parent of QSocketNotifier).
> For each QSocketNotifier type you have to create it's own instance so for read 
> & write you have to create 2 QSocketNotifiers.
>
> Anyway, this is my wild guess since I've never used QSocketNotifier in this 
> life :)
>
>   
LNet is a networking library. This is however not useful only for that. 
The AddEventHandler functions should be implemented for all widgetsets.

Ales



More information about the Qt mailing list