Plasma
PlasmaApp Class Reference
#include <plasmaapp.h>

Public Slots | |
| void | createWaitingPanels () |
| bool | fixedDashboard () const |
| void | loadScriptInInteractiveConsole (const QString &script) |
| void | lock () |
| bool | perVirtualDesktopViews () const |
| void | quit () |
| Q_SCRIPTABLE void | quit () |
| void | setActive (bool activate) |
| void | setAutoHideControlBar (bool autoHide) |
| void | setFixedDashboard (bool fixedDashboard) |
| void | setPerVirtualDesktopViews (bool perDesktopViews) |
| void | setup (bool setupMode) |
| void | showDashboard (bool show) |
| void | showInteractiveConsole () |
| void | toggleDashboard () |
| void | zoom (Plasma::Containment *, Plasma::ZoomDirection) |
Signals | |
| void | hidden () |
Public Member Functions | |
| ~PlasmaApp () | |
| ~PlasmaApp () | |
| ~PlasmaApp () | |
| qreal | activeOpacity () const |
| NetView * | controlBar () const |
| Plasma::Corona * | corona () |
| Plasma::Corona * | corona () |
| Plasma::Corona * | corona () |
| Plasma::ZoomLevel | desktopZoomLevel () const |
| void | hideWidgetExplorer (int screen) |
| qreal | idleOpacity () const |
| bool | isDesktop () const |
| NetView * | mainView () const |
| void | notifyStartup (bool completed) |
| void | panelHidden (bool hidden) |
| QList< PanelView * > | panelViews () const |
| void | setActiveOpacity (qreal opacity) |
| void | setIdleOpacity (qreal opacity) |
| void | setIsDesktop (bool isDesktop) |
| void | showAppletBrowser (Plasma::Containment *containment) |
| void | showWidgetExplorer (int screen, Plasma::Containment *c) |
Static Public Member Functions | |
| static bool | hasComposite () |
| static bool | hasComposite () |
| static bool | hasComposite () |
| static bool | isPanelContainment (Plasma::Containment *containment) |
| static PlasmaApp * | self () |
| static PlasmaApp * | self () |
| static PlasmaApp * | self () |
| static void | suspendStartup (bool completed) |
Protected Member Functions | |
| bool | eventFilter (QObject *obj, QEvent *event) |
| bool | eventFilter (QObject *watched, QEvent *event) |
| bool | hasForegroundWindows () const |
| void | setControllerVisible (bool show) |
| bool | x11EventFilter (XEvent *event) |
Detailed Description
Definition at line 54 of file desktop/shell/plasmaapp.h.
Constructor & Destructor Documentation
| PlasmaApp::~PlasmaApp | ( | ) |
Definition at line 248 of file desktop/shell/plasmaapp.cpp.
| PlasmaApp::~PlasmaApp | ( | ) |
| PlasmaApp::~PlasmaApp | ( | ) |
Member Function Documentation
| qreal PlasmaApp::activeOpacity | ( | ) | const |
Definition at line 261 of file screensaver/shell/plasmaapp.cpp.
| NetView * PlasmaApp::controlBar | ( | ) | const |
Definition at line 496 of file netbook/shell/plasmaapp.cpp.
| Plasma::Corona* PlasmaApp::corona | ( | ) |
| Plasma::Corona* PlasmaApp::corona | ( | ) |
| Plasma::Corona * PlasmaApp::corona | ( | ) |
Definition at line 583 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::createWaitingPanels | ( | ) | [slot] |
Definition at line 748 of file desktop/shell/plasmaapp.cpp.
| Plasma::ZoomLevel PlasmaApp::desktopZoomLevel | ( | ) | const |
Current desktop zoom level.
Definition at line 397 of file desktop/shell/plasmaapp.cpp.
Definition at line 814 of file netbook/shell/plasmaapp.cpp.
| bool PlasmaApp::fixedDashboard | ( | ) | const [slot] |
Definition at line 1060 of file desktop/shell/plasmaapp.cpp.
| static bool PlasmaApp::hasComposite | ( | ) | [static] |
| static bool PlasmaApp::hasComposite | ( | ) | [static] |
| bool PlasmaApp::hasComposite | ( | ) | [static] |
Definition at line 659 of file desktop/shell/plasmaapp.cpp.
| bool PlasmaApp::hasForegroundWindows | ( | ) | const [protected] |
Definition at line 879 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::hidden | ( | ) | [signal] |
| void PlasmaApp::hideWidgetExplorer | ( | int | screen | ) |
Definition at line 435 of file desktop/shell/plasmaapp.cpp.
| qreal PlasmaApp::idleOpacity | ( | ) | const |
Definition at line 266 of file screensaver/shell/plasmaapp.cpp.
| bool PlasmaApp::isDesktop | ( | ) | const |
Returns true if this widget is currently a desktop window.
See setIsDesktop()
Definition at line 436 of file netbook/shell/plasmaapp.cpp.
| bool PlasmaApp::isPanelContainment | ( | Plasma::Containment * | containment | ) | [static] |
Definition at line 681 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::loadScriptInInteractiveConsole | ( | const QString & | script | ) | [slot] |
Definition at line 374 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::lock | ( | ) | [slot] |
lock widgets
Definition at line 534 of file screensaver/shell/plasmaapp.cpp.
| NetView * PlasmaApp::mainView | ( | ) | const |
Definition at line 501 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::notifyStartup | ( | bool | completed | ) |
Definition at line 533 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::panelHidden | ( | bool | hidden | ) |
Should be called when a panel hides or unhides itself.
Definition at line 382 of file desktop/shell/plasmaapp.cpp.
Returns the PanelViews.
Definition at line 402 of file desktop/shell/plasmaapp.cpp.
| bool PlasmaApp::perVirtualDesktopViews | ( | ) | const [slot] |
Definition at line 1022 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::quit | ( | ) | [slot] |
quit the application this is a duplicate so we can have everything we need in one dbus interface
| void PlasmaApp::quit | ( | ) | [slot] |
Definition at line 292 of file desktop/shell/plasmaapp.cpp.
| static PlasmaApp* PlasmaApp::self | ( | ) | [static] |
| static PlasmaApp* PlasmaApp::self | ( | ) | [static] |
| PlasmaApp * PlasmaApp::self | ( | ) | [static] |
Definition at line 88 of file desktop/shell/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/shell/plasmaapp.cpp.
| void PlasmaApp::setActiveOpacity | ( | qreal | opacity | ) |
Definition at line 235 of file screensaver/shell/plasmaapp.cpp.
| void PlasmaApp::setAutoHideControlBar | ( | bool | autoHide | ) | [slot] |
Definition at line 672 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::setControllerVisible | ( | bool | show | ) | [protected] |
Definition at line 965 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::setFixedDashboard | ( | bool | fixedDashboard | ) | [slot] |
Definition at line 1044 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::setIdleOpacity | ( | qreal | opacity | ) |
Definition at line 250 of file screensaver/shell/plasmaapp.cpp.
| void PlasmaApp::setIsDesktop | ( | bool | isDesktop | ) |
Sets the view to be 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 screen.
The default behaviour is not to register the view as the desktop window.
Definition at line 414 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::setPerVirtualDesktopViews | ( | bool | perDesktopViews | ) | [slot] |
Definition at line 987 of file desktop/shell/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 393 of file screensaver/shell/plasmaapp.cpp.
| void PlasmaApp::showAppletBrowser | ( | Plasma::Containment * | containment | ) |
Definition at line 708 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::showDashboard | ( | bool | show | ) | [slot] |
Definition at line 354 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::showInteractiveConsole | ( | ) | [slot] |
Definition at line 361 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::showWidgetExplorer | ( | int | screen, | |
| Plasma::Containment * | c | |||
| ) |
Definition at line 407 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::suspendStartup | ( | bool | completed | ) | [static] |
Definition at line 669 of file desktop/shell/plasmaapp.cpp.
| void PlasmaApp::toggleDashboard | ( | ) | [slot] |
Definition at line 347 of file desktop/shell/plasmaapp.cpp.
| bool PlasmaApp::x11EventFilter | ( | XEvent * | event | ) | [protected] |
Definition at line 848 of file netbook/shell/plasmaapp.cpp.
| void PlasmaApp::zoom | ( | Plasma::Containment * | containment, | |
| Plasma::ZoomDirection | direction | |||
| ) | [slot] |
Request a zoom based on the containment.
Definition at line 860 of file desktop/shell/plasmaapp.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference