summaryrefslogtreecommitdiffstats
path: root/kppp/modem.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-18 09:59:16 +0900
commit40393e30bb743346b6b40bf130da35419c12ebdc (patch)
tree9330d82486c7b3125b8275914565b324f9af523e /kppp/modem.cpp
parent05594058244ba6a1866d5758ae412fb5afd6d727 (diff)
downloadtdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz
tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'kppp/modem.cpp')
-rw-r--r--kppp/modem.cpp6
1 files changed, 3 insertions, 3 deletions
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!");