--- a/QTfrontend/netserverslist.h Sat Dec 15 20:08:08 2007 +0000
+++ b/QTfrontend/netserverslist.h Sat Dec 15 20:28:58 2007 +0000
@@ -20,6 +20,7 @@
#define _NET_SERVERSLIST_INCLUDED
#include <QAbstractTableModel>
+#include <QStringList>
class HWNetServersModel : public QAbstractTableModel
{
@@ -28,8 +29,15 @@
public:
HWNetServersModel(QObject *parent = 0);
+ QVariant headerData(int section, Qt::Orientation orientation, int role) const;
+ int rowCount(const QModelIndex & parent) const;
+ int columnCount(const QModelIndex & parent) const;
+
public slots:
virtual void updateList();
+
+protected:
+ QList<QStringList> games;
};
#endif // _NET_SERVERSLIST_INCLUDED