11 #ifndef __KRootPixmap_h_Included__
12 #define __KRootPixmap_h_Included__
16 #include <tdelibs_export.h>
18 #ifndef Q_WS_QWS //FIXME
23 class TDESharedPixmap;
24 class KRootPixmapData;
60 KRootPixmap( TQWidget *target,
const char *name=0 );
66 KRootPixmap( TQWidget *target, TQObject *parent,
const char *name=0 );
77 bool isAvailable()
const;
87 int currentDesktop()
const;
106 const TQColor &
color()
const {
return m_FadeColor; }
127 virtual void start();
144 void setFadeEffect(
double opacity,
const TQColor &color);
156 void setBlurEffect(
double radius,
double sigma);
164 void repaint(
bool force );
185 void enableExports();
190 static TQString pixmapName(
int desk);
198 void backgroundUpdated(
const TQPixmap &pm );
205 virtual bool eventFilter(TQObject *, TQEvent *);
212 virtual void updateBackground( TDESharedPixmap * );
215 void slotBackgroundChanged(
int);
217 void desktopChanged(
int desktop);
218 void desktopChanged( WId window,
unsigned int properties );
221 bool m_bActive, m_bInit, m_bCustomPaint;
232 TDESharedPixmap *m_pPixmap;
239 #endif // __KRootPixmap_h_Included__
Creates pseudo-transparent widgets.
const double & blurSigma() const
bool customPainting() const
Returns true if custom painting is enabled, false otherwise.
void setCustomPainting(bool enable)
Enables custom handling of the background painting.
bool isActive() const
Returns true if the KRootPixmap is active.
const TQColor & color() const
KDE_DEPRECATED bool checkAvailable(bool)
Deprecated, use isAvailable() instead.
const double & blurRadius() const