Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/18/head
Michele Calgaro 4 months ago
parent b7ed7de214
commit 67fab506ee
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -70,7 +70,7 @@ QIOWatch::QIOWatch(int fd, int type, IONotify *notify,
: _fd(fd), _type(type), _client(notify), _reentrant(reentrant)
{
qsocketnotify = new TQSocketNotifier(fd,qtype,this);
connect(qsocketnotify,TQT_SIGNAL(activated(int)),this,TQT_SLOT(notify(int)));
connect(qsocketnotify,TQ_SIGNAL(activated(int)),this,TQ_SLOT(notify(int)));
}
void QIOWatch::notify(int socket)
@ -85,7 +85,7 @@ void QIOWatch::notify(int socket)
QTimeWatch::QTimeWatch(int milliseconds, TimeNotify *notify)
{
timer = new TQTimer(this);
connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(notify()) );
connect( timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(notify()) );
timer->start(milliseconds);
_client = notify;
}

Loading…
Cancel
Save