38 #include <tqsocketnotifier.h>
41 #include "kandyprefs.h"
46 class Modem : public TQObject
51 Modem(KandyPrefs *kprefs, TQObject *parent = 0, const char *name = 0);
54 void setSpeed( int speed);
55 void setData( int data);
56 void setParity( char parity);
57 void setStop( int stop);
62 bool isOpen() { return mOpen; }
72 void writeChar( const char c);
73 void writeLine( const char *line);
75 void timerStart( int msec);
77 void receiveXModem( bool crc);
96 struct termios init_tty;
103 TQSocketNotifier *sn;
116 void gotLine( const char *);
117 void gotXBlock( const uchar *, int);
118 void xmodemDone( bool);
121 void errorMessage( const TQString & );
|