Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 67fab506ee)
r14.1.x
Michele Calgaro 10 months ago
parent 486b0b0955
commit c96b8debfb
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