Diffstat (limited to 'noncore/games/tetrix/ohighscoredlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/tetrix/ohighscoredlg.h | 13 |
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 @@ -13,10 +13,11 @@ class QListView; #include <qdialog.h> -#include <list> +#include <qlist.h> -using namespace std; - -struct t_playerData +class t_playerData { + +public : + QString sName; int points; @@ -46,5 +47,5 @@ class OHighscore : public QWidget void insertData( QString , int , int ); - list<t_playerData*> playerData; + QList<t_playerData> playerData; /* @@ -54,6 +55,4 @@ class OHighscore : public QWidget private: - list<t_playerData*>::iterator iPlayerData; - /* * the lowest score in the highscorelist |