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

Plasma

PlasmaApp Class Reference

#include <plasmaapp.h>

Inheritance diagram for PlasmaApp:

Inheritance graph
[legend]

List of all members.


Public Slots

void lock ()
void quit ()
void setActive (bool activate)
void setup (bool setupMode)
void toggleDashboard ()
void zoom (Plasma::Containment *, Plasma::ZoomDirection)

Signals

void hidden ()

Public Member Functions

qreal activeOpacity () const
Plasma::Corona * corona ()
Plasma::Corona * corona ()
void createDesktopView (Plasma::Containment *containment, int id=0)
Plasma::ZoomLevel desktopZoomLevel () const
qreal idleOpacity () const
void notifyStartup (bool completed)
void panelHidden (bool hidden)
QList< PanelView * > panelViews () const
void setActiveOpacity (qreal opacity)
void setIdleOpacity (qreal opacity)
void showAppletBrowser (Plasma::Containment *containment)
 ~PlasmaApp ()
 ~PlasmaApp ()

Static Public Member Functions

static bool hasComposite ()
static bool hasComposite ()
static PlasmaApp * self ()
static PlasmaApp * self ()

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)

Detailed Description

Definition at line 49 of file desktop/plasmaapp.h.


Constructor & Destructor Documentation

PlasmaApp::~PlasmaApp (  ) 

Definition at line 229 of file desktop/plasmaapp.cpp.

PlasmaApp::~PlasmaApp (  ) 


Member Function Documentation

qreal PlasmaApp::activeOpacity (  )  const

Definition at line 261 of file screensaver/plasmaapp.cpp.

Plasma::Corona* PlasmaApp::corona (  ) 

Plasma::Corona * PlasmaApp::corona (  ) 

Definition at line 500 of file desktop/plasmaapp.cpp.

void PlasmaApp::createDesktopView ( Plasma::Containment *  containment,
int  id = 0 
)

Creates a view for the given containment.

Plasma::ZoomLevel PlasmaApp::desktopZoomLevel (  )  const

Current desktop zoom level.

Definition at line 347 of file desktop/plasmaapp.cpp.

bool PlasmaApp::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected]

Definition at line 416 of file screensaver/plasmaapp.cpp.

static bool PlasmaApp::hasComposite (  )  [static]

bool PlasmaApp::hasComposite (  )  [static]

Definition at line 571 of file desktop/plasmaapp.cpp.

void PlasmaApp::hidden (  )  [signal]

qreal PlasmaApp::idleOpacity (  )  const

Definition at line 266 of file screensaver/plasmaapp.cpp.

void PlasmaApp::lock (  )  [slot]

lock widgets

Definition at line 527 of file screensaver/plasmaapp.cpp.

void PlasmaApp::notifyStartup ( bool  completed  ) 

Definition at line 581 of file desktop/plasmaapp.cpp.

void PlasmaApp::panelHidden ( bool  hidden  ) 

Should be called when a panel hides or unhides itself.

Definition at line 332 of file desktop/plasmaapp.cpp.

QList< PanelView * > PlasmaApp::panelViews (  )  const

Returns the PanelViews.

Definition at line 352 of file desktop/plasmaapp.cpp.

void PlasmaApp::quit (  )  [slot]

quit the application this is a duplicate so we can have everything we need in one dbus interface

Definition at line 538 of file screensaver/plasmaapp.cpp.

static PlasmaApp* PlasmaApp::self (  )  [static]

PlasmaApp * PlasmaApp::self (  )  [static]

Definition at line 120 of file desktop/plasmaapp.cpp.

void PlasmaApp::setActive ( bool  activate  )  [slot]

tell plasma to go into active mode, ready for interaction

Definition at line 272 of file screensaver/plasmaapp.cpp.

void PlasmaApp::setActiveOpacity ( qreal  opacity  ) 

Definition at line 235 of file screensaver/plasmaapp.cpp.

void PlasmaApp::setIdleOpacity ( qreal  opacity  ) 

Definition at line 250 of file screensaver/plasmaapp.cpp.

void PlasmaApp::setup ( bool  setupMode  )  [slot]

get plasma all set up and ready this makes sure things like opacity, visibility and locked-ness are set right normally this is called only by plasmaapp itself when it finishes initialization, but it's possible that it might need to be run again by lockprocess

Parameters:
setupMode whether we're starting in setup mode

Definition at line 388 of file screensaver/plasmaapp.cpp.

void PlasmaApp::showAppletBrowser ( Plasma::Containment *  containment  ) 

Definition at line 543 of file desktop/plasmaapp.cpp.

void PlasmaApp::toggleDashboard (  )  [slot]

Definition at line 311 of file desktop/plasmaapp.cpp.

void PlasmaApp::zoom ( Plasma::Containment *  containment,
Plasma::ZoomDirection  direction 
) [slot]

Request a zoom based on the containment.

Definition at line 729 of file desktop/plasmaapp.cpp.


The documentation for this class was generated from the following files:
  • desktop/plasmaapp.h
  • screensaver/plasmaapp.h
  • desktop/plasmaapp.cpp
  • screensaver/plasmaapp.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