From 1329ec6abbcb7b79cd960e0ca138f16598d5f11f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kppp/modem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kppp/modem.cpp') diff --git a/kppp/modem.cpp b/kppp/modem.cpp index ee75d417..9b24cb94 100644 --- a/kppp/modem.cpp +++ b/kppp/modem.cpp @@ -253,13 +253,13 @@ void Modem::readtty(int) { void Modem::notify(const TQObject *receiver, const char *member) { - connect(this, TQT_SIGNAL(charWaiting(unsigned char)), receiver, member); + connect(this, TQ_SIGNAL(charWaiting(unsigned char)), receiver, member); startNotifier(); } void Modem::stop() { - disconnect(TQT_SIGNAL(charWaiting(unsigned char))); + disconnect(TQ_SIGNAL(charWaiting(unsigned char))); stopNotifier(); } @@ -268,7 +268,7 @@ void Modem::startNotifier() { if(modemfd >= 0) { if(sn == 0) { sn = new TQSocketNotifier(modemfd, TQSocketNotifier::Read, this); - connect(sn, TQT_SIGNAL(activated(int)), TQT_SLOT(readtty(int))); + connect(sn, TQ_SIGNAL(activated(int)), TQ_SLOT(readtty(int))); kdDebug(5002) << "TQSocketNotifier started!" << endl; } else { // Debug("TQSocketNotifier re-enabled!"); -- cgit v1.2.1