• Skip to content
  • Skip to link menu
KDE 4.1 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.


Detailed Description

Definition at line 33 of file desktopview.h.


Public Slots

void addContainment (Plasma::Containment *fromContainment=0)
void adjustSize ()
void nextContainment ()
void previousContainment ()
void screenOwnerChanged (int wasScreen, int isScreen, Plasma::Containment *containment)
void setContainment (Plasma::Containment *containment)
void showAppletBrowser ()
void toggleDashboard ()
void zoom (Plasma::Containment *containment, Plasma::ZoomDirection direction)
void zoomIn (Plasma::Containment *toContainment)
void zoomOut (Plasma::Containment *fromContainment)

Public Member Functions

void connectContainment (Plasma::Containment *containment)
 DesktopView (Plasma::Containment *containment, int id, QWidget *parent)
bool isDesktop () const
void setIsDesktop (bool isDesktop)
 ~DesktopView ()

Protected Member Functions

void drawBackground (QPainter *painter, const QRectF &rect)
void wheelEvent (QWheelEvent *event)

Constructor & Destructor Documentation

DesktopView::DesktopView ( Plasma::Containment *  containment,
int  id,
QWidget *  parent 
)

Definition at line 42 of file desktopview.cpp.

DesktopView::~DesktopView (  ) 

Definition at line 80 of file desktopview.cpp.


Member Function Documentation

void DesktopView::addContainment ( Plasma::Containment *  fromContainment = 0  )  [slot]

create a new containment based on fromContainment

Definition at line 190 of file desktopview.cpp.

void DesktopView::adjustSize (  )  [slot]

Definition at line 124 of file desktopview.cpp.

void DesktopView::connectContainment ( Plasma::Containment *  containment  ) 

hook up all needed signals to a containment

Definition at line 85 of file desktopview.cpp.

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

Definition at line 355 of file desktopview.cpp.

bool DesktopView::isDesktop (  )  const

Returns true if this widget is currently a desktop window.

See setAsDesktop()

Definition at line 155 of file desktopview.cpp.

void DesktopView::nextContainment (  )  [slot]

switch to the "next" available containment on the corona.

Definition at line 406 of file desktopview.cpp.

void DesktopView::previousContainment (  )  [slot]

switch to the "previous" available containment on the corona.

Definition at line 424 of file desktopview.cpp.

void DesktopView::screenOwnerChanged ( int  wasScreen,
int  isScreen,
Plasma::Containment *  containment 
) [slot]

Definition at line 387 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 160 of file desktopview.cpp.

void DesktopView::setIsDesktop ( bool  isDesktop  ) 

Sets this DesktopView as a desktop window if isDesktop is true or an ordinary window otherwise.

Desktop windows are displayed beneath all other windows, have no window decoration and occupy the full size of the desktop.

Definition at line 137 of file desktopview.cpp.

void DesktopView::showAppletBrowser (  )  [slot]

Definition at line 322 of file desktopview.cpp.

void DesktopView::toggleDashboard (  )  [slot]

Definition at line 96 of file desktopview.cpp.

void DesktopView::wheelEvent ( QWheelEvent *  event  )  [protected]

Definition at line 331 of file desktopview.cpp.

void DesktopView::zoom ( Plasma::Containment *  containment,
Plasma::ZoomDirection  direction 
) [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 207 of file desktopview.cpp.

void DesktopView::zoomIn ( Plasma::Containment *  toContainment  )  [slot]

Definition at line 216 of file desktopview.cpp.

void DesktopView::zoomOut ( Plasma::Containment *  fromContainment  )  [slot]

Definition at line 276 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
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
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