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.
65 lines
1.9 KiB
65 lines
1.9 KiB
/***************************************************************************
|
|
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 <tqwidget.h>
|
|
#include <tqguardedptr.h>
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// KDE Includes
|
|
|
|
#include <ksplashscreen.h>
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// Project Includes
|
|
|
|
class KStartupSplash : public KSplashScreen
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
KStartupSplash(const TQPixmap &pixmap, WFlags f = 0);
|
|
~KStartupSplash();
|
|
void message( const TQString &message, int alignment = AlignLeft, const TQColor &color = black);
|
|
|
|
protected:
|
|
void drawContents(TQPainter *p);
|
|
|
|
private:
|
|
class Private;
|
|
Private *d;
|
|
};
|
|
|
|
// Simple class that just shows a picture
|
|
class KStartupLogo : public TQObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
KStartupLogo();
|
|
~KStartupLogo();
|
|
|
|
private:
|
|
TQGuardedPtr<TQWidget> m_splash;
|
|
};
|
|
|
|
#endif
|