• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

DesktopView Class Reference

#include <desktopview.h>

Inheritance diagram for DesktopView:

Inheritance graph
[legend]

List of all members.


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.

void DesktopView::drawBackground ( QPainter *  painter,
const QRectF &  rect 
) [protected]

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:
  • desktopview.h
  • desktopview.cpp

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal