equal
deleted
inserted
replaced
12 Q_OBJECT |
12 Q_OBJECT |
13 |
13 |
14 public: |
14 public: |
15 HWNetUdpWidget(QWidget *parent = 0); |
15 HWNetUdpWidget(QWidget *parent = 0); |
16 |
16 |
|
17 QListWidget* serversList; |
|
18 |
|
19 public slots: |
|
20 void updateList(); |
|
21 |
17 private slots: |
22 private slots: |
18 void onClientRead(); |
23 void onClientRead(); |
19 |
24 |
20 private: |
25 private: |
21 QVBoxLayout mainLayout; |
26 QVBoxLayout mainLayout; |
22 QUdpSocket* pUdpSocket; |
27 QUdpSocket* pUdpSocket; |
23 QListWidget* serversList; |
|
24 }; |
28 }; |
25 |
29 |
26 #endif // _NET_UDPWIDGET_INCLUDED |
30 #endif // _NET_UDPWIDGET_INCLUDED |