1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a widget to display splash with progress bar
9
* Copyright (C) 2003-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
10
* Copyright (C) 2006-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* ============================================================ */
25
#ifndef SPLASHSCREEN_H
26
#define SPLASHSCREEN_H
30
#include <QtGui/QPainter>
34
#include <ksplashscreen.h>
38
#include "digikam_export.h"
43
class SplashScreenPriv;
45
class DIGIKAM_EXPORT SplashScreen : public KSplashScreen
53
virtual ~SplashScreen();
55
void setAlignment(int alignment);
56
void setColor(const QColor& color);
60
void drawContents(QPainter*);
65
void message(const QString& message);
69
SplashScreenPriv* const d;
72
} // namespace Digikam
74
#endif /* SPLASHSCREEN_H */