summaryrefslogtreecommitdiffstats
path: root/konquest/scoredlg.h
blob: 88b7911df2b34e3e7c5ddaf7e6971d9c5e644f5b (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 *tqparent, 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 *tqparent, const TQString& title, PlayerList *players );

private:
    void init();

    PlayerList *plrList;
    TQListView *scoreTable;

};

#endif // _SCOREDLG_H_