diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kandy/src/modem.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kandy/src/modem.cpp')
-rw-r--r-- | kandy/src/modem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kandy/src/modem.cpp b/kandy/src/modem.cpp index 2a275bf4..ef16d00d 100644 --- a/kandy/src/modem.cpp +++ b/kandy/src/modem.cpp @@ -84,7 +84,7 @@ Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) : timer = new TQTimer( this, "modemtimer" ); TQ_CHECK_PTR( timer ); - connect( timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timerDone() ) ); + connect( timer, TQ_SIGNAL( timeout() ), TQ_SLOT( timerDone() ) ); init(); xreset(); @@ -234,7 +234,7 @@ bool Modem::open() sn = new TQSocketNotifier( fd, TQSocketNotifier::Read, this, "modemsocketnotifier" ); TQ_CHECK_PTR( sn ); - connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) ); + connect( sn, TQ_SIGNAL( activated( int ) ), TQ_SLOT( readChar( int ) ) ); mOpen = true; @@ -372,7 +372,7 @@ void Modem::timerStart( int msec ) void Modem::receiveXModem( bool crc ) { disconnect( sn, 0, this, 0 ); - connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readXChar( int ) ) ); + connect( sn, TQ_SIGNAL( activated( int ) ), TQ_SLOT( readXChar( int ) ) ); xcrc = crc; @@ -598,7 +598,7 @@ void Modem::xreset() if ( sn ) { disconnect( sn, 0, this, 0 ); - connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) ); + connect( sn, TQ_SIGNAL( activated( int ) ), TQ_SLOT( readChar( int ) ) ); } } |