Home · All Namespaces · All Classes
Public Member Functions

MDesktopBackgroundExtensionInterface Class Reference

#include <mdesktopbackgroundextensioninterface.h>

List of all members.

Public Member Functions

virtual ~MDesktopBackgroundExtensionInterface ()
virtual void setDesktopInterface (MDesktopInterface &desktopInterface)=0
virtual void setDefocused (bool defocused)=0
virtual void drawBackground (QPainter *painter, const QRectF &boundingRect) const =0

Detailed Description

Desktop background extension interface. Extensions implementing this interface can draw the desktop background.


Constructor & Destructor Documentation

virtual MDesktopBackgroundExtensionInterface::~MDesktopBackgroundExtensionInterface (  )  [inline, virtual]

Destroys the desktop background extension.


Member Function Documentation

virtual void MDesktopBackgroundExtensionInterface::drawBackground ( QPainter *  painter,
const QRectF &  boundingRect 
) const [pure virtual]

Paints the desktop background using the given painter.

Parameters:
painter the painter to draw the desktop background with.
boundingRect the bounding rectangle of the desktop area.
virtual void MDesktopBackgroundExtensionInterface::setDefocused ( bool  defocused  )  [pure virtual]

Tells the extension whether the desktop should be defocused or not.

Parameters:
defocused true if the desktop should be defocused, false otherwise
virtual void MDesktopBackgroundExtensionInterface::setDesktopInterface ( MDesktopInterface desktopInterface  )  [pure virtual]

Tells the extension about an implementation of the desktop background interface.

Parameters:
desktopInterface an interface for getting information about the state of the desktop

The documentation for this class was generated from the following file:

Copyright © 2011 Nokia Corporation Generated on Thu Jul 7 2011 22:14:50
Doxygen 1.7.1
MeeGo Touch