diff options
Diffstat (limited to 'client/splashscreen.h')
-rw-r--r-- | client/splashscreen.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/client/splashscreen.h b/client/splashscreen.h index 95de335..529f8cb 100644 --- a/client/splashscreen.h +++ b/client/splashscreen.h @@ -28,23 +28,21 @@ #ifndef __MIAV_SPLASHSCREEN_H__ #define __MIAV_SPLASHSCREEN_H__ -#include <QThread> -#include <QDialog> +#include <QSplashScreen> #include <QProgressBar> #include <QString> -class SplashScreen : public QThread +#define PIXMAP_SPLASH PIXMAPS"/dummy.png" + +class SplashScreen : public QSplashScreen { public: - SplashScreen(); + SplashScreen(QWidget *mainwindow); ~SplashScreen(); void setProgress(QString text, unsigned int pct); - void run(); - private: - QDialog *splash; QProgressBar *progbar; }; |