QTfrontend/netserverslist.h
changeset 665 5c7bfc8bac6a
parent 664 f0af2401f981
child 668 0d7683a66d61
equal deleted inserted replaced
664:f0af2401f981 665:5c7bfc8bac6a
    17  */
    17  */
    18 
    18 
    19 #ifndef _NET_SERVERSLIST_INCLUDED
    19 #ifndef _NET_SERVERSLIST_INCLUDED
    20 #define _NET_SERVERSLIST_INCLUDED
    20 #define _NET_SERVERSLIST_INCLUDED
    21 
    21 
    22 #include <QWidget>
    22 #include <QAbstractTableModel>
    23 #include <QVBoxLayout>
       
    24 #include <QTableView>
       
    25 
    23 
    26 class HWNetServersWidget : public QWidget
    24 class HWNetServersModel : public QAbstractTableModel
    27 {
    25 {
    28 	Q_OBJECT
    26 	Q_OBJECT
    29 
    27 
    30 public:
    28 public:
    31 	HWNetServersWidget (QWidget *parent = 0);
    29 	HWNetServersModel(QObject *parent = 0);
    32 
       
    33 	QTableView* serversList;
       
    34 
    30 
    35 public slots:
    31 public slots:
    36 	virtual void updateList();
    32 	virtual void updateList();
    37 
       
    38 private:
       
    39 	QVBoxLayout mainLayout;
       
    40 };
    33 };
    41 
    34 
    42 #endif // _NET_SERVERSLIST_INCLUDED
    35 #endif // _NET_SERVERSLIST_INCLUDED