QTfrontend/netudpwidget.h
changeset 2948 3f21a9dc93d0
parent 1066 1f1b3686a2b0
child 3236 4ab3917d7d44
equal deleted inserted replaced
2947:803b277e4894 2948:3f21a9dc93d0
    27 class HWNetUdpModel : public HWNetServersModel
    27 class HWNetUdpModel : public HWNetServersModel
    28 {
    28 {
    29   Q_OBJECT
    29   Q_OBJECT
    30 
    30 
    31 public:
    31 public:
    32 	HWNetUdpModel(QObject *parent = 0);
    32     HWNetUdpModel(QObject *parent = 0);
    33 
    33 
    34 	QVariant data(const QModelIndex &index, int role) const;
    34     QVariant data(const QModelIndex &index, int role) const;
    35 
    35 
    36 public slots:
    36 public slots:
    37 	void updateList();
    37     void updateList();
    38 
    38 
    39 private slots:
    39 private slots:
    40 	void onClientRead();
    40     void onClientRead();
    41 
    41 
    42 private:
    42 private:
    43 	QUdpSocket* pUdpSocket;
    43     QUdpSocket* pUdpSocket;
    44 };
    44 };
    45 
    45 
    46 #endif // _NET_UDPWIDGET_INCLUDED
    46 #endif // _NET_UDPWIDGET_INCLUDED