kstartuplogo.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef KSTARTUPLOGO_H
00018 #define KSTARTUPLOGO_H
00019
00020
00021
00022
00023 #include <qwidget.h>
00024 #include <qguardedptr.h>
00025
00026
00027
00028
00029 #include <ksplashscreen.h>
00030
00031
00032
00033
00034 class KStartupSplash : public KSplashScreen
00035 {
00036 Q_OBJECT
00037 public:
00038 KStartupSplash(const QPixmap &pixmap, WFlags f = 0);
00039 ~KStartupSplash();
00040 void message( const QString &message, int alignment = AlignLeft, const QColor &color = black);
00041
00042 protected:
00043 void drawContents(QPainter *p);
00044
00045 private:
00046 class Private;
00047 Private *d;
00048 };
00049
00050
00051 class KStartupLogo : public QObject
00052 {
00053 Q_OBJECT
00054 public:
00055 KStartupLogo();
00056 ~KStartupLogo();
00057
00058 private:
00059 QGuardedPtr<QWidget> m_splash;
00060 };
00061
00062 #endif