PDA

View Full Version : Watching a UNIX file descriptor



invictus
13th January 2009, 20:56
Hi

Is there any way I can integrate a UNIX file descriptor (i.e. file, pipe, socket) with the QT4 mainloop? What I want to achieve is to be notified every time there is an event (e.g. new data to read)?

Perhaps it seems like a silly question since QT4 got a lot of IO-classes, but I am really wonder about this. Really appreciate any answers.

jpn
13th January 2009, 21:26
See QSocketNotifier.