You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
579 B
40 lines
579 B
|
|
#ifndef _SPLASHSCREEN_H_
|
|
#define _SPLASHSCREEN_H_
|
|
|
|
#include <tqsplashscreen.h>
|
|
#include <tqpainter.h>
|
|
#include <tqlabel.h>
|
|
|
|
class TQPixmap;
|
|
|
|
/**
|
|
Splash screen.
|
|
*/
|
|
class KDevSplashScreen : public TQSplashScreen
|
|
{
|
|
Q_OBJECT
|
|
|
|
|
|
public:
|
|
KDevSplashScreen(const TQPixmap& pixmap, WFlags f = 0);
|
|
virtual ~KDevSplashScreen();
|
|
|
|
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
|
|
|