|
|
|
@ -82,7 +82,7 @@ Modem::Modem( KandyPrefs *kprefs, TQObject *parent, const char *name ) :
|
|
|
|
|
prefs = kprefs;
|
|
|
|
|
|
|
|
|
|
timer = new TQTimer( this, "modemtimer" );
|
|
|
|
|
Q_CHECK_PTR( timer );
|
|
|
|
|
TQ_CHECK_PTR( timer );
|
|
|
|
|
connect( timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timerDone() ) );
|
|
|
|
|
|
|
|
|
|
init();
|
|
|
|
@ -228,7 +228,7 @@ bool Modem::open()
|
|
|
|
|
|
|
|
|
|
sn = new TQSocketNotifier( fd, TQSocketNotifier::Read, this,
|
|
|
|
|
"modemsocketnotifier" );
|
|
|
|
|
Q_CHECK_PTR( sn );
|
|
|
|
|
TQ_CHECK_PTR( sn );
|
|
|
|
|
connect( sn, TQT_SIGNAL( activated( int ) ), TQT_SLOT( readChar( int ) ) );
|
|
|
|
|
|
|
|
|
|
mOpen = true;
|
|
|
|
|