You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
574 B
33 lines
574 B
15 years ago
|
#ifndef _SCOREDLG_H_
|
||
|
#define _SCOREDLG_H_
|
||
|
|
||
|
#include <klistview.h>
|
||
|
|
||
|
#include <qdialog.h>
|
||
|
|
||
|
#include "gamecore.h"
|
||
|
|
||
|
class ScoreDlgListViewItem : public QListViewItem
|
||
|
{
|
||
|
public:
|
||
|
ScoreDlgListViewItem(QListView *parent, QString s1, QString s2, QString s3, QString s4, QString s5, QString s6);
|
||
|
int compare(QListViewItem *i, int col, bool) const;
|
||
|
};
|
||
|
|
||
|
class ScoreDlg : public QDialog
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
ScoreDlg( QWidget *parent, const QString& title, PlayerList *players );
|
||
|
|
||
|
private:
|
||
|
void init();
|
||
|
|
||
|
PlayerList *plrList;
|
||
|
QListView *scoreTable;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // _SCOREDLG_H_
|
||
|
|