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