1 /* This file is part of the KDE project
3 Copyright (C) 2004 - 2005 KGet Developers <kget@kde.org>
4 Splash.cpp/.h taken from Amarok. Thanks to Amarok's authors, cool piece
5 of code.. and our favourite player!
6 Copyright (C) 2003 by Christian Muehlhaeuser <muesli@chareit.net>
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
19 #include <QMouseEvent>
20 #include <QPaintEvent>
22 class Splash
: public QWidget
27 Splash(const QString
& imagePath
);
30 void removeSplash(int timeout
= 500);
33 void paintEvent(QPaintEvent
*);
34 void mousePressEvent(QMouseEvent
*);
36 static const int SPLASH_DURATION
= 15000;