00001
00002
00003
00004
00005
00006
00007
00008
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