summaryrefslogtreecommitdiffstats
path: root/konquest/scoredlg.h
blob: 55eaa92619e78f6064ddb81dd0c792abbdf1e1d8 (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 QListViewItem
{
	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 QDialog
{

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

private:
    void init();

    PlayerList *plrList;
    TQListView *scoreTable;

};

#endif // _SCOREDLG_H_