3
* $Id: krootpixmap.h,v 1.15 2003/05/19 08:02:48 coolo Exp $
4
* This file is part of the KDE project, module kdesktop.
5
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
7
* You can Freely distribute this program under the GNU Library General
8
* Public License. See the file "COPYING.LIB" for the exact licensing terms.
11
/* Modified by Sascha Hlusiak */
14
#ifndef __KRootPixmap_h_Included__
15
#define __KRootPixmap_h_Included__
20
#ifndef Q_WS_QWS //FIXME
26
class KMyRootPixmapData;
28
class KMyRootPixmap: public QObject
33
KMyRootPixmap( QWidget *target=NULL, const char *name=0 );
35
KMyRootPixmap( QWidget *target, QObject *parent, const char *name=0 );
37
virtual ~KMyRootPixmap();
41
bool isActive() const { return m_bActive; }
43
int currentDesktop() const;
45
// bool customPainting() const { return m_bCustomPaint; }
49
bool checkAvailable(bool) { return isAvailable(); }
57
// void setFadeEffect(double strength, const QColor &color);
59
void repaint( bool force );
63
// void setCustomPainting( bool enable ) { m_bCustomPaint = enable; }
67
static QString pixmapName(int desk);
70
void backgroundUpdated( const QImage *pm );
73
// virtual bool eventFilter(QObject *, QEvent *);
75
virtual void updateBackground( KSharedPixmap * );
78
// void slotBackgroundChanged(int);
82
bool m_bActive, m_bInit/*, m_bCustomPaint*/;
86
// QColor m_FadeColor;
89
// QWidget *m_pWidget;
91
KSharedPixmap *m_pPixmap;
92
// KMyRootPixmapData *d;
98
#endif // __KRootPixmap_h_Included__