QTfrontend/netudpwidget.h
author displacer
Wed, 07 Feb 2007 22:59:49 +0000
changeset 413 523f1769f2bc
child 416 595d8663254d
permissions -rw-r--r--
udp server detecting experimental version (added files)

#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