summaryrefslogtreecommitdiff
path: root/noncore/games/tetrix/ohighscoredlg.h
Side-by-side diff
Diffstat (limited to 'noncore/games/tetrix/ohighscoredlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/tetrix/ohighscoredlg.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/noncore/games/tetrix/ohighscoredlg.h b/noncore/games/tetrix/ohighscoredlg.h
index fdbe623..845e639 100644
--- a/noncore/games/tetrix/ohighscoredlg.h
+++ b/noncore/games/tetrix/ohighscoredlg.h
@@ -14,8 +14,9 @@ class QListView;
#include <qdialog.h>
-#include <list>
+#include <qlist.h>
-using namespace std;
-
-struct t_playerData
+class t_playerData
{
+
+public :
+
QString sName;
@@ -47,3 +48,3 @@ class OHighscore : public QWidget
- list<t_playerData*> playerData;
+ QList<t_playerData> playerData;
@@ -55,4 +56,2 @@ class OHighscore : public QWidget
- list<t_playerData*>::iterator iPlayerData;
-
/*