00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
#ifndef DLGSCORES_H
00019
#define DLGSCORES_H
00020
00021
#include <qlineedit.h>
00022
#include <qbutton.h>
00023
#include <qlabel.h>
00024
#include <kconfig.h>
00025
00026
#include <qwidget.h>
00027
#include <scores.h>
00028
#include <playern.h>
00029
#include <configuration.h>
00030
00034 class PlayerName :
public PlayerN {
00035 Q_OBJECT
00036
public:
00037
PlayerName(QWidget *parent=0,
const char *name=0,QString* nm=0);
00038 ~
PlayerName();
00039
public slots:
00041
void slot_ok();
00042
public:
00044 QString* namereturn;
00045 };
00046
00047
00048
class DlgScores :
public Scores {
00049 Q_OBJECT
00050
public:
00051 DlgScores(QWidget *parent=0,
const char *name=0,
int scorep=0,KConfigBase *conf=0 );
00052 ~DlgScores();
00054
void init();
00056
int filltable();
00057
private:
00059
int score;
00061 QString playername;
00063 KConfigBase * config;
00064 };
00065
00066
#endif