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

/home/samy/kbilliards/src/mcanvas.h

00001 /*************************************************************************** 00002 mcanvas.h - description 00003 ------------------- 00004 begin : Wed Feb 13 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 MCANVAS_H 00019 #define MCANVAS_H 00020 00021 #include <qwidget.h> 00022 #include <qcanvas.h> 00023 #include <qtimer.h> 00024 00029 class MCanvas : public QCanvas { 00030 Q_OBJECT 00031 public: 00032 MCanvas(QWidget* parent,int w, int h); 00033 ~MCanvas(); 00034 public: // Public attributes 00036 QTimer * clock; 00038 void setAdvancePeriod ( int ms ); 00040 void setUpdatePeriod(int ms); 00041 private: // Private attributes 00043 QWidget * par; 00044 }; 00045 00046 #endif

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