summaryrefslogtreecommitdiffstats
path: root/konquest/scoredlg.h
blob: 22fbc549f45b4a4bb3e0678e2b4d8b8a399ad393 (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 <tqdialog.h>

#include "gamecore.h"

class ScoreDlgListViewItem : public TQListViewItem
{
	public:
		ScoreDlgListViewItem(TQListView *parent, TQString s1, TQString s2, TQString s3, TQString s4, TQString s5, TQString s6);
		int compare(TQListViewItem *i, int col, bool) const;
};

class ScoreDlg : public TQDialog
{

public:
    ScoreDlg( TQWidget *parent, const TQString& title, PlayerList *players );

private:
    void init();

    PlayerList *plrList;
    TQListView *scoreTable;

};

#endif // _SCOREDLG_H_