Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

kpacmanwidget.h

Go to the documentation of this file.
00001 #ifndef KPACMANWIDGET_H
00002 #define KPACMANWIDGET_H
00003 
00004 #ifdef HAVE_CONFIG_H
00005 #include <config.h>
00006 #endif
00007 
00008 #include "portable.h"
00009 
00010 #if defined( KDE2_PORT )
00011 #include <kapp.h>
00012 #endif
00013 
00014 #include <qwidget.h>
00015 #include <qregexp.h>
00016 
00017 #include "score.h"
00018 #include "referee.h"
00019 #include "status.h"
00020 #include "painter.h"
00021 
00022 class KpacmanWidget : public QWidget
00023 {
00024     Q_OBJECT
00025 public:
00026     KpacmanWidget ( QWidget *parent = 0, const char *name = 0);
00027     virtual ~KpacmanWidget();
00028 
00029     void setScheme(int scheme=-1, int mode=-1);
00030     Score *score;
00031     Referee *referee;
00032     Status *status;
00033 
00034 protected:
00035     void confScheme();
00036     void confMisc(bool defGroup=TRUE);
00037     void resizeEvent( QResizeEvent * );
00038 
00039 private:
00040     Bitfont *bitfont;
00041     uchar bitfontFirstChar;
00042     uchar bitfontLastChar;
00043 
00044     QString fontName;
00045 
00046     int scheme;
00047     int mode;
00048 };
00049 
00050 #endif // KPACMANWIDGET_H

Generated on Sat Nov 5 16:17:21 2005 for OPIE by  doxygen 1.4.2