• Skip to content
  • Skip to link menu
KDE 4.4 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 containmentAdded (Plasma::Containment *c)
void grabContainment ()
void lostContainment ()
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 showDashboard (bool show)
void showDesktopUntoggled (WId id)
void showWidgetExplorer ()
void syncSceneRect ()
void toggleDashboard ()
void toolBoxClosed ()
void toolBoxOpened ()
void updateShortcuts ()
void zoomIn (Plasma::ZoomLevel zoomLevel)
void zoomOut (Plasma::ZoomLevel zoomLevel)

Public Member Functions

 DesktopView (Plasma::Containment *containment, int id, QWidget *parent)
 ~DesktopView ()
void checkDesktopAffiliation ()
Plasma::Containment * dashboardContainment () const
bool dashboardFollowsDesktop () const
bool isDashboardVisible () const
void setDashboardContainment (Plasma::Containment *containment)
void setDashboardFollowsDesktop (bool follow)

Static Public Member Functions

static KActionCollection * shortcutActions (QObject *parent)

Protected Member Functions

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

Detailed Description

Definition at line 39 of file desktopview.h.


Constructor & Destructor Documentation

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

Definition at line 57 of file desktopview.cpp.

DesktopView::~DesktopView (  ) 

Definition at line 131 of file desktopview.cpp.


Member Function Documentation

void DesktopView::adjustSize (  )  [slot]

Definition at line 264 of file desktopview.cpp.

void DesktopView::checkDesktopAffiliation (  ) 

Sets things up for per-desktop views (or not).

Definition at line 136 of file desktopview.cpp.

void DesktopView::containmentAdded ( Plasma::Containment *  c  )  [slot]

Definition at line 425 of file desktopview.cpp.

Plasma::Containment * DesktopView::dashboardContainment (  )  const

Definition at line 212 of file desktopview.cpp.

bool DesktopView::dashboardFollowsDesktop (  )  const

Returns whether the dashboard containment will always be the desktop's one.

Definition at line 287 of file desktopview.cpp.

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

Definition at line 512 of file desktopview.cpp.

void DesktopView::grabContainment (  )  [slot]

Definition at line 617 of file desktopview.cpp.

bool DesktopView::isDashboardVisible (  )  const

Returns whether or not the dashboard view is visible.

Definition at line 282 of file desktopview.cpp.

void DesktopView::lostContainment (  )  [slot]

make sure we've always got a containment

Definition at line 612 of file desktopview.cpp.

void DesktopView::nextContainment (  )  [slot]

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

Definition at line 567 of file desktopview.cpp.

void DesktopView::prepDashboard (  )  [protected]

Definition at line 184 of file desktopview.cpp.

void DesktopView::previousContainment (  )  [slot]

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

Definition at line 586 of file desktopview.cpp.

void DesktopView::screenMoved ( Kephal::Screen *  s  )  [slot]

Definition at line 256 of file desktopview.cpp.

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

Definition at line 550 of file desktopview.cpp.

void DesktopView::screenResized ( Kephal::Screen *  s  )  [slot]

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

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

Definition at line 230 of file desktopview.cpp.

void DesktopView::setDashboardFollowsDesktop ( bool  follow  ) 

Set if the dashboard will be fixed to the current desktop containment.

Definition at line 292 of file desktopview.cpp.

KActionCollection * DesktopView::shortcutActions ( QObject *  parent  )  [static]

all the actions with keyboard shortcuts

Definition at line 148 of file desktopview.cpp.

void DesktopView::showDashboard ( bool  show  )  [slot]

Definition at line 178 of file desktopview.cpp.

void DesktopView::showDesktopUntoggled ( WId  id  )  [slot]

Definition at line 399 of file desktopview.cpp.

void DesktopView::showWidgetExplorer (  )  [slot]

Definition at line 363 of file desktopview.cpp.

void DesktopView::syncSceneRect (  )  [slot]

Definition at line 434 of file desktopview.cpp.

void DesktopView::toggleDashboard (  )  [slot]

Definition at line 171 of file desktopview.cpp.

void DesktopView::toolBoxClosed (  )  [slot]

Definition at line 375 of file desktopview.cpp.

void DesktopView::toolBoxOpened (  )  [slot]

Definition at line 340 of file desktopview.cpp.

void DesktopView::updateShortcuts (  )  [slot]

reread shortcut config

Definition at line 166 of file desktopview.cpp.

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

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

void DesktopView::zoomOut ( Plasma::ZoomLevel  zoomLevel  )  [slot]

Definition at line 471 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
  • System Settings
  •   SystemSettingsView
Generated for API Reference by doxygen 1.5.9-20090814
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