QTfrontend/netudpwidget.h
author unc0rr
Sat, 10 Feb 2007 17:59:30 +0000
changeset 426 7523417d84d6
parent 416 595d8663254d
child 486 7ea71cd3acd5
permissions -rw-r--r--
- Enable 'norsk' theme - Many images improvements - Show 0.9 version

#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);

  QListWidget* serversList;

 public slots:
  void updateList();

 private slots:
  void onClientRead();

 private:
  QVBoxLayout mainLayout;
  QUdpSocket* pUdpSocket;
};

#endif // _NET_UDPWIDGET_INCLUDED