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