Main Page | Class List | File List | Class Members | Related Pages

/home/samy/kbilliards/src/dlgscores.h

00001 /*************************************************************************** 00002 dlgscores.h - description 00003 ------------------- 00004 begin : Fri Feb 8 2002 00005 copyright : (C) 2002 by Samuele Catuzzi 00006 email : samuele_catuzzi@yahoo.it 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 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: // Public slots 00041 void slot_ok(); 00042 public: // Public attributes 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: // Private attributes 00059 int score; 00061 QString playername; 00063 KConfigBase * config; 00064 }; 00065 00066 #endif

Generated on Mon Nov 8 22:00:15 2004 for kbilliards.kdevelop by doxygen 1.3.7