[Qt] WidgetSet.AddEventHandler and friends
Ales Katona
almindor at gmail.com
Sat Feb 16 13:23:05 CET 2008
I'm trying to implement WidgetSet.AddEventHandler and friends for Qt4
widgetset so I can integrate lNet into the main loop of qt4 (make it
watch my sockets).
Now, I've found out QSocketNotifier at
http://doc.trolltech.com/4.3/qsocketnotifier.htmlhttp://doc.trolltech.com/4.3/qsocketnotifier.html
but I'm a bit confused about 2 things:
1. How is the QSocketNotifier tied to the qt main loop? (no need to
register it? is it internally done?)
2. How to handle the "activated" signal? AFAIK adding handlers for these
requires a C++ method?
Thanks,
Ales
More information about the Qt
mailing list