Plasma
DesktopView Class Reference
#include <desktopview.h>

Public Slots | |
| void | adjustSize () |
| void | nextContainment () |
| void | previousContainment () |
| void | screenMoved (Kephal::Screen *) |
| void | screenOwnerChanged (int wasScreen, int isScreen, Plasma::Containment *containment) |
| void | screenResized (Kephal::Screen *) |
| void | setContainment (Plasma::Containment *containment) |
| void | toggleDashboard () |
| void | zoomIn (Plasma::ZoomLevel zoomLevel) |
| void | zoomOut (Plasma::ZoomLevel zoomLevel) |
Public Member Functions | |
| DesktopView (Plasma::Containment *containment, int id, QWidget *parent) | |
| bool | isDashboardVisible () const |
| ~DesktopView () | |
Protected Member Functions | |
| void | drawBackground (QPainter *painter, const QRectF &rect) |
| void | wheelEvent (QWheelEvent *event) |
Detailed Description
Definition at line 38 of file desktopview.h.
Constructor & Destructor Documentation
| DesktopView::DesktopView | ( | Plasma::Containment * | containment, | |
| int | id, | |||
| QWidget * | parent | |||
| ) |
Definition at line 53 of file desktopview.cpp.
| DesktopView::~DesktopView | ( | ) |
Definition at line 115 of file desktopview.cpp.
Member Function Documentation
| void DesktopView::adjustSize | ( | ) | [slot] |
Definition at line 164 of file desktopview.cpp.
Definition at line 284 of file desktopview.cpp.
| bool DesktopView::isDashboardVisible | ( | ) | const |
Returns whether or not the dashboard view is visible.
Definition at line 180 of file desktopview.cpp.
| void DesktopView::nextContainment | ( | ) | [slot] |
switch to the "next" available containment on the corona.
Definition at line 333 of file desktopview.cpp.
| void DesktopView::previousContainment | ( | ) | [slot] |
switch to the "previous" available containment on the corona.
Definition at line 351 of file desktopview.cpp.
| void DesktopView::screenMoved | ( | Kephal::Screen * | s | ) | [slot] |
Definition at line 156 of file desktopview.cpp.
| void DesktopView::screenOwnerChanged | ( | int | wasScreen, | |
| int | isScreen, | |||
| Plasma::Containment * | containment | |||
| ) | [slot] |
Definition at line 316 of file desktopview.cpp.
| void DesktopView::screenResized | ( | Kephal::Screen * | s | ) | [slot] |
Definition at line 148 of file desktopview.cpp.
| void DesktopView::setContainment | ( | Plasma::Containment * | containment | ) | [slot] |
Sets the containment for this view, which will also cause the view to track the geometry of the containment.
- containment the containment to center the view on
Definition at line 185 of file desktopview.cpp.
| void DesktopView::toggleDashboard | ( | ) | [slot] |
Definition at line 120 of file desktopview.cpp.
| void DesktopView::wheelEvent | ( | QWheelEvent * | event | ) | [protected] |
Definition at line 256 of file desktopview.cpp.
| void DesktopView::zoomIn | ( | Plasma::ZoomLevel | zoomLevel | ) | [slot] |
zoom in towards the given containment.
if toContainment is null, the current containment is used instead. zooming in also sets toContainment as current.
Definition at line 213 of file desktopview.cpp.
| void DesktopView::zoomOut | ( | Plasma::ZoomLevel | zoomLevel | ) | [slot] |
Definition at line 243 of file desktopview.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference