QTfrontend/netserverslist.h
changeset 665 5c7bfc8bac6a
parent 664 f0af2401f981
child 668 0d7683a66d61
--- a/QTfrontend/netserverslist.h	Sat Dec 15 18:58:55 2007 +0000
+++ b/QTfrontend/netserverslist.h	Sat Dec 15 19:40:50 2007 +0000
@@ -19,24 +19,17 @@
 #ifndef _NET_SERVERSLIST_INCLUDED
 #define _NET_SERVERSLIST_INCLUDED
 
-#include <QWidget>
-#include <QVBoxLayout>
-#include <QTableView>
+#include <QAbstractTableModel>
 
-class HWNetServersWidget : public QWidget
+class HWNetServersModel : public QAbstractTableModel
 {
 	Q_OBJECT
 
 public:
-	HWNetServersWidget (QWidget *parent = 0);
-
-	QTableView* serversList;
+	HWNetServersModel(QObject *parent = 0);
 
 public slots:
 	virtual void updateList();
-
-private:
-	QVBoxLayout mainLayout;
 };
 
 #endif // _NET_SERVERSLIST_INCLUDED