blob: 11a329bc0b1ae26a412df6a22c41dc44ce3f6824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef _SPLASHSCREEN_H_
#define _SPLASHSCREEN_H_
#include <tqsplashscreen.h>
#include <tqpainter.h>
#include <tqlabel.h>
class TQPixmap;
/**
Splash screen.
*/
class TDevSplashScreen : public TQSplashScreen
{
Q_OBJECT
public:
TDevSplashScreen(const TQPixmap& pixmap, WFlags f = 0);
virtual ~TDevSplashScreen();
protected:
void drawContents (TQPainter * painter);
public slots:
void animate();
void message( const TQString &str, int flags = AlignLeft,
const TQColor &color = black );
private:
int state;
int progress_bar_size;
TQString m_string;
};
#endif
|