QTfrontend/netudpwidget.h
changeset 413 523f1769f2bc
child 416 595d8663254d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/netudpwidget.h	Wed Feb 07 22:59:49 2007 +0000
@@ -0,0 +1,26 @@
+#ifndef _NET_UDPWIDGET_INCLUDED
+#define _NET_UDPWIDGET_INCLUDED
+
+#include <QWidget>
+#include <QVBoxLayout>
+
+class QUdpSocket;
+class QListWidget;
+
+class HWNetUdpWidget : public QWidget
+{
+  Q_OBJECT
+
+ public:
+  HWNetUdpWidget(QWidget *parent = 0);
+
+ private slots:
+  void onClientRead();
+
+ private:
+  QVBoxLayout mainLayout;
+  QUdpSocket* pUdpSocket;
+  QListWidget* serversList;
+};
+
+#endif // _NET_UDPWIDGET_INCLUDED