Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

splash.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2002 by Yann Hodique                                    *
00003  *   Yann.Hodique@lifl.fr                                                  *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef _SPLASH_H_
00012 #define _SPLASH_H_
00013 
00014 #include <qpixmap.h>
00015 #include <qwidget.h>
00016 #include <qtimer.h>
00017 #include <qlabel.h>
00018 
00019 #include "master.h"
00020 #include "page.h"
00021 
00022 class Splash : public Page {
00023     Q_OBJECT
00024     
00025 public:
00026     Splash(QWidget *parent, const char *name, Master * session);
00027     ~Splash();
00028     
00029     void repaint();
00030     void setTime(int);
00031     bool isSlave() {return false;}
00032     
00033 protected:
00034     void mousePressEvent( QMouseEvent * );
00035 
00036 public slots:
00037     void timeout();
00038     void append(const QString & msg);
00039     
00040 private:
00041     QTimer *m_timer;
00042     QLabel label;
00043     int time;
00044 };
00045 
00046 #endif

Generated on Sat May 10 15:09:28 2003 for qnet by doxygen1.3