summaryrefslogtreecommitdiff
path: root/client/splashscreen.h
diff options
context:
space:
mode:
authordeva <deva>2006-03-09 11:03:35 +0000
committerdeva <deva>2006-03-09 11:03:35 +0000
commit0eb1af1add19c8ffb8f5ab11f74810366f1beed1 (patch)
tree06191ba6af6cbb474f670c5ecd729e48989791af /client/splashscreen.h
parent4f84ffc811d93371f395f11a0e0f42000eaa99fc (diff)
*** empty log message ***
Diffstat (limited to 'client/splashscreen.h')
-rw-r--r--client/splashscreen.h12
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;
};