You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.9 KiB
63 lines
1.9 KiB
13 years ago
|
/***************************************************************************
|
||
|
kstartuplogo.h
|
||
|
-------------------
|
||
|
copyright : (C) 2000 by Michael Edwardes
|
||
|
email : mte@users.sourceforge.net
|
||
|
***************************************************************************/
|
||
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* This program is free software; you can redistribute it and/or modify *
|
||
|
* it under the terms of the GNU General Public License as published by *
|
||
|
* the Free Software Foundation; either version 2 of the License, or *
|
||
|
* (at your option) any later version. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef KSTARTUPLOGO_H
|
||
|
#define KSTARTUPLOGO_H
|
||
|
|
||
|
// ----------------------------------------------------------------------------
|
||
|
// QT Includes
|
||
|
|
||
|
#include <qwidget.h>
|
||
|
#include <qguardedptr.h>
|
||
|
|
||
|
// ----------------------------------------------------------------------------
|
||
|
// KDE Includes
|
||
|
|
||
|
#include <ksplashscreen.h>
|
||
|
|
||
|
// ----------------------------------------------------------------------------
|
||
|
// Project Includes
|
||
|
|
||
|
class KStartupSplash : public KSplashScreen
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
KStartupSplash(const QPixmap &pixmap, WFlags f = 0);
|
||
|
~KStartupSplash();
|
||
|
void message( const QString &message, int alignment = AlignLeft, const QColor &color = black);
|
||
|
|
||
|
protected:
|
||
|
void drawContents(QPainter *p);
|
||
|
|
||
|
private:
|
||
|
class Private;
|
||
|
Private *d;
|
||
|
};
|
||
|
|
||
|
// Simple class that just shows a picture
|
||
|
class KStartupLogo : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
KStartupLogo();
|
||
|
~KStartupLogo();
|
||
|
|
||
|
private:
|
||
|
QGuardedPtr<QWidget> m_splash;
|
||
|
};
|
||
|
|
||
|
#endif
|