00001 #ifndef SENDERDIALOG_H 00002 #define SENDERDIALOG_H 00003 00004 #include "sender.h" 00005 #include "ui_senderdialog.h" 00006 00007 // Defines bDebug() 00008 #include "bcore.h" 00009 00010 00011 class SenderDialog : public QDialog, private Ui::SenderDialog 00012 { 00013 Q_OBJECT 00014 00015 public: 00016 SenderDialog(QWidget *parent = 0); 00017 00018 Sender* sender; 00019 00020 signals: 00021 void connectTo(QUrl url); 00022 void sendText(QString line); 00023 void disconnect(); 00024 00025 public slots: 00026 00027 private slots: 00028 void on_ButtonSend_clicked(); 00029 void on_ButtonConnect_clicked(); 00030 void connectionOpen(); 00031 void connectionClose(); 00032 void received(QString line); 00033 00034 }; 00035 00036 #endif 00037