Added check for username and some code cleaning.
[speedfreak] / Client / welcomedialog.h
1 /*
2  * Welcome dialog
3  *
4  * @author     Toni Jussila <toni.jussila@fudeco.com>
5  * @copyright  (c) 2010 Speed Freak team
6  * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
7  */
8
9 #ifndef WELCOMEDIALOG_H
10 #define WELCOMEDIALOG_H
11
12 #include <QDialog>
13 #include <QMovie>
14
15 namespace Ui {
16     class WelcomeDialog;
17 }
18
19 class WelcomeDialog : public QDialog {
20     Q_OBJECT
21 public:
22     WelcomeDialog(QWidget *parent = 0);
23     ~WelcomeDialog();
24
25 protected:
26     void changeEvent(QEvent *e);
27
28 private:
29     Ui::WelcomeDialog *ui;
30     QMovie *movie;
31
32 private slots:
33     void stop(int currentFrame);
34 };
35
36 #endif // WELCOMEDIALOG_H