diff options
Diffstat (limited to 'workspace/LogReceiver/logreceiver.h')
| -rw-r--r-- | workspace/LogReceiver/logreceiver.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/workspace/LogReceiver/logreceiver.h b/workspace/LogReceiver/logreceiver.h new file mode 100644 index 0000000..6b94eab --- /dev/null +++ b/workspace/LogReceiver/logreceiver.h @@ -0,0 +1,34 @@ +#ifndef LOGRECEIVER_H +#define LOGRECEIVER_H + +#include <QDialog> +#include <QtGui/QWidget> +#include "ui_logreceiver.h" + +class QLabel; +class QPushButton; +class QLocalServer; +class QLocalSocket; + +class LogReceiver: public QDialog { +Q_OBJECT + +public: + LogReceiver(QWidget *parent = 0); + ~LogReceiver(); + +private slots: + void handleNewConnection(); + void handleNewInput(); + +private: + Ui::LogReceiverClass ui; + QLabel *statusLabel; + QPushButton *quitButton; + QLocalServer *server; + QStringList fortunes; + QLocalSocket *clientSocket; + quint16 blockSize; +}; + +#endif // LOGRECEIVER_H |
