summaryrefslogtreecommitdiffstats
path: root/konquest/scoredlg.h
blob: 570a3b3696d8cb9484111b8e71e27cf0d9faa375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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_