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

Plasma

DesktopCorona Class Reference

A Corona with desktop-y considerations. More...

#include <desktopcorona.h>

Inheritance diagram for DesktopCorona:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DesktopCorona (QObject *parent=0)
void addDesktopContainment (int screen, int desktop=-1)
virtual QRegion availableScreenRegion (int id) const
void checkScreen (int screen, bool signalWhenExists=false)
void checkScreens (bool signalWhenExists=false)
Plasma::Containment * findFreeContainment () const
void loadDefaultLayout ()
bool loadDefaultLayoutScripts ()
virtual int numScreens () const
void processUpdateScripts ()
virtual QRect screenGeometry (int id) const

Protected Slots

void evaluateScripts (QMap< QString, QString > scripts)
void printScriptError (const QString &error)
void printScriptMessage (const QString &error)
void saveDefaultSetup ()
void screenAdded (Kephal::Screen *s)

Detailed Description

A Corona with desktop-y considerations.

Definition at line 39 of file desktopcorona.h.


Constructor & Destructor Documentation

DesktopCorona::DesktopCorona ( QObject *  parent = 0  )  [explicit]

Definition at line 45 of file desktopcorona.cpp.


Member Function Documentation

void DesktopCorona::addDesktopContainment ( int  screen,
int  desktop = -1 
)

Definition at line 130 of file desktopcorona.cpp.

QRegion DesktopCorona::availableScreenRegion ( int  id  )  const [virtual]

Definition at line 175 of file desktopcorona.cpp.

void DesktopCorona::checkScreen ( int  screen,
bool  signalWhenExists = false 
)

Ensures we have the necessary containments for the given screen screen.

Definition at line 78 of file desktopcorona.cpp.

void DesktopCorona::checkScreens ( bool  signalWhenExists = false  ) 

Ensures we have the necessary containments for every screen.

Definition at line 69 of file desktopcorona.cpp.

void DesktopCorona::evaluateScripts ( QMap< QString, QString >  scripts  )  [protected, slot]

Definition at line 251 of file desktopcorona.cpp.

Plasma::Containment * DesktopCorona::findFreeContainment (  )  const
Returns:
an old containment that wasn't already associated with a screen, if found

Definition at line 117 of file desktopcorona.cpp.

void DesktopCorona::loadDefaultLayout (  ) 

Loads the default (system wide) layout for this user.

Definition at line 277 of file desktopcorona.cpp.

bool DesktopCorona::loadDefaultLayoutScripts (  ) 

Definition at line 222 of file desktopcorona.cpp.

int DesktopCorona::numScreens (  )  const [virtual]

Definition at line 165 of file desktopcorona.cpp.

void DesktopCorona::printScriptError ( const QString &  error  )  [protected, slot]

Definition at line 267 of file desktopcorona.cpp.

void DesktopCorona::printScriptMessage ( const QString &  error  )  [protected, slot]

Definition at line 272 of file desktopcorona.cpp.

void DesktopCorona::processUpdateScripts (  ) 

Definition at line 187 of file desktopcorona.cpp.

void DesktopCorona::saveDefaultSetup (  )  [protected, slot]

Definition at line 385 of file desktopcorona.cpp.

void DesktopCorona::screenAdded ( Kephal::Screen *  s  )  [protected, slot]

Definition at line 416 of file desktopcorona.cpp.

QRect DesktopCorona::screenGeometry ( int  id  )  const [virtual]

Definition at line 170 of file desktopcorona.cpp.


The documentation for this class was generated from the following files:
  • desktopcorona.h
  • desktopcorona.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