summaryrefslogtreecommitdiffstats
path: root/konquest/scoredlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'konquest/scoredlg.h')
-rw-r--r--konquest/scoredlg.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/konquest/scoredlg.h b/konquest/scoredlg.h
new file mode 100644
index 00000000..570a3b36
--- /dev/null
+++ b/konquest/scoredlg.h
@@ -0,0 +1,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_
+