kstartuplogo.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kstartuplogo.h
00003                              -------------------
00004     copyright            : (C) 2000 by Michael Edwardes
00005     email                : mte@users.sourceforge.net
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef KSTARTUPLOGO_H
00018 #define KSTARTUPLOGO_H
00019 
00020 // ----------------------------------------------------------------------------
00021 // QT Includes
00022 
00023 #include <qwidget.h>
00024 #include <qguardedptr.h>
00025 
00026 // ----------------------------------------------------------------------------
00027 // KDE Includes
00028 
00029 #include <ksplashscreen.h>
00030 
00031 // ----------------------------------------------------------------------------
00032 // Project Includes
00033 
00034 class KStartupSplash : public KSplashScreen
00035 {
00036   Q_OBJECT
00037   public:
00038     KStartupSplash(const QPixmap &pixmap, WFlags f = 0);
00039     ~KStartupSplash();
00040     void message( const QString &message, int alignment = AlignLeft, const QColor &color = black);
00041 
00042   protected:
00043     void drawContents(QPainter *p);
00044 
00045   private:
00046     class Private;
00047     Private *d;
00048 };
00049 
00050 // Simple class that just shows a picture
00051 class KStartupLogo : public QObject
00052 {
00053   Q_OBJECT
00054 public:
00055   KStartupLogo();
00056   ~KStartupLogo();
00057 
00058 private:
00059   QGuardedPtr<QWidget>  m_splash;
00060 };
00061 
00062 #endif

Generated on Wed Jan 26 13:03:18 2011 for KMyMoney by  doxygen 1.5.6