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

Plasma

DashboardJs Class Reference

Implements the Mac OS X Dashboard widget javascript functions. More...

#include <dashboardjs.h>

Inheritance diagram for DashboardJs:

Inheritance graph
[legend]

List of all members.


Public Slots

void hello (int test)
void openApplication (QString name)
void openURL (QString name)
void performTransition ()
QVariant preferenceForKey (QString key)
void prepareForTransition (QString transition)
void setCloseBoxOffset (int x, int y)
void setPreferenceForKey (QString value, QString key)
void system (QString command, QString handler)

Public Member Functions

 DashboardJs (QWebFrame *frame, QObject *parent=0, Plasma::Applet *applet=0)
QString identifier () const
QString ondragstart () const
QString ondragstop () const
QString onhide () const
QString onremove () const
QString onshow () const
void setOndragstart (const QString &ondragstart)
void setOndragstop (const QString &ondragstop)
void setOnhide (const QString &onhide)
void setOnremove (const QString &onremove)
void setOnshow (const QString &onshow)
 ~DashboardJs ()

Properties

QString identifier
QString ondragstart
QString ondragstop
QString onhide
QString onremove
QString onshow

Detailed Description

Implements the Mac OS X Dashboard widget javascript functions.

This document was used to create this class: http://developer.apple.com/documentation/AppleApplications/Reference/Dashboard_Ref/Dashboard_Ref.pdf

Definition at line 39 of file dashboardjs.h.


Constructor & Destructor Documentation

DashboardJs::DashboardJs ( QWebFrame *  frame,
QObject *  parent = 0,
Plasma::Applet *  applet = 0 
)

Definition at line 37 of file dashboardjs.cpp.

DashboardJs::~DashboardJs (  ) 

Definition at line 44 of file dashboardjs.cpp.


Member Function Documentation

void DashboardJs::hello ( int  test  )  [slot]

Definition at line 175 of file dashboardjs.cpp.

QString DashboardJs::identifier (  )  const

QString DashboardJs::ondragstart (  )  const

QString DashboardJs::ondragstop (  )  const

QString DashboardJs::onhide (  )  const

QString DashboardJs::onremove (  )  const

QString DashboardJs::onshow (  )  const

void DashboardJs::openApplication ( QString  name  )  [slot]

opens a certain application

Definition at line 52 of file dashboardjs.cpp.

void DashboardJs::openURL ( QString  name  )  [slot]

opens a URL.

Does not open file urls by default. TODO: find out what protocols dashboard widgets support. filter out the others

Definition at line 64 of file dashboardjs.cpp.

void DashboardJs::performTransition (  )  [slot]

Definition at line 89 of file dashboardjs.cpp.

QVariant DashboardJs::preferenceForKey ( QString  key  )  [slot]

Returns the value associated with a certain key.

Definition at line 70 of file dashboardjs.cpp.

void DashboardJs::prepareForTransition ( QString  transition  )  [slot]

Definition at line 81 of file dashboardjs.cpp.

void DashboardJs::setCloseBoxOffset ( int  x,
int  y 
) [slot]

Definition at line 97 of file dashboardjs.cpp.

void DashboardJs::setOndragstart ( const QString &  ondragstart  ) 

Definition at line 159 of file dashboardjs.cpp.

void DashboardJs::setOndragstop ( const QString &  ondragstop  ) 

Definition at line 169 of file dashboardjs.cpp.

void DashboardJs::setOnhide ( const QString &  onhide  ) 

Definition at line 138 of file dashboardjs.cpp.

void DashboardJs::setOnremove ( const QString &  onremove  ) 

Definition at line 148 of file dashboardjs.cpp.

void DashboardJs::setOnshow ( const QString &  onshow  ) 

Definition at line 128 of file dashboardjs.cpp.

void DashboardJs::setPreferenceForKey ( QString  value,
QString  key 
) [slot]

Saves a value to a key.

Definition at line 103 of file dashboardjs.cpp.

void DashboardJs::system ( QString  command,
QString  handler 
) [slot]

Definition at line 110 of file dashboardjs.cpp.


Property Documentation

QString DashboardJs::identifier [read]

Definition at line 42 of file dashboardjs.h.

QString DashboardJs::ondragstart [read, write]

Definition at line 47 of file dashboardjs.h.

QString DashboardJs::ondragstop [read, write]

Definition at line 48 of file dashboardjs.h.

QString DashboardJs::onhide [read, write]

Definition at line 45 of file dashboardjs.h.

QString DashboardJs::onremove [read, write]

Definition at line 46 of file dashboardjs.h.

QString DashboardJs::onshow [read, write]

Definition at line 44 of file dashboardjs.h.


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