Home · All Namespaces · All Classes
Public Member Functions

MDesktopBackgroundExtensionInterface Class Reference

#include <mdesktopbackgroundextensioninterface.h>

Inheritance diagram for MDesktopBackgroundExtensionInterface:
Inheritance graph
[legend]
Collaboration diagram for MDesktopBackgroundExtensionInterface:
Collaboration graph
[legend]

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.

Definition at line 52 of file mdesktopbackgroundextensioninterface.h.


Constructor & Destructor Documentation

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

Destroys the desktop background extension.

Definition at line 60 of file mdesktopbackgroundextensioninterface.h.

{}


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 © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:20:42
Doxygen 1.7.1
MeeGo Touch