Plasma
DashboardJs Class Reference
Implements the Mac OS X Dashboard widget javascript functions. More...
#include <dashboardjs.h>

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
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] |
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.
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.
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: