00001 #ifndef SENDER_UI_H 00002 #define SENDER_UI_H 00003 00004 #include <qcstring.h> 00005 00006 #include "sender.h" 00007 00008 class IOSerial; 00009 class FileTransfer; 00010 class QSocketNotifier; 00011 namespace Opie {namespace Core {class Opie::Core::OProcess;}} 00012 class SenderUI : public Sender { 00013 Q_OBJECT 00014 public: 00015 SenderUI(); 00016 ~SenderUI(); 00017 00018 public slots: 00019 void send(); 00020 void slotSendFile(); 00021 void slotSend(); 00022 void slotRev(); 00023 void got(const QByteArray& ); 00024 void fileTransComplete(); 00025 private: 00026 IOSerial* ser; 00027 FileTransfer* sz; 00028 int m_fd; 00029 QSocketNotifier* m_sock; 00030 Opie::Core::OProcess* m_proc; 00031 }; 00032 00033 00034 #endif
1.4.2