- io_callback(int fd, LyXComm * comm)
- : comm_(comm) {
- QSocketNotifier * sn = new QSocketNotifier(fd,
- QSocketNotifier::Read, this);
- connect(sn, SIGNAL(activated(int)), this, SLOT(data_received()));
- }
-
+ /// connect a read ready notification for fd to the LyXComm
+ io_callback(int fd, LyXComm * comm);