Projects/DataEngines: Difference between revisions

From KDE TechBase
Line 32: Line 32:
       Available profiles:  QString
       Available profiles:  QString


PowerDevill will show the current profile and all the possibile power profiles.
PowerDevil will show the current profile and all the possibile power profiles.


=== Mouse ===
=== Mouse ===

Revision as of 01:18, 27 December 2010

DataEngines

DataEngines provide a standardized interface to various data sources for visualizations to use. For an introduction to create a simple DataEngine you can see at http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines

This page will list all data for each DataEngine

Akonadi

  • Email Collections
  • Contact Collections

Email Collections and Contact Collections will store data about email accounts ordered by a number, the key is EmailCollection-N, where N is the number of account. All variables are QString.

Power Management

  • Battery:
     Remaning msec  int
     Has Battery  bool
     Sources Battery  QString
  • Battery0:
     Percent  int
     State  QString
     Plugged in  bool
  • AC adapter:
     Plugged in  bool
  • Sleeps states:
     Standby	 bool
     Suspend	 bool
     Hibernate  bool
  • Power Devil:
     Current profile:  Qstring
     Available profiles:  QString

PowerDevil will show the current profile and all the possibile power profiles.

Mouse

  • Position:
       Position	QPoint
  • Name:
       Name	        QString

Pastebin

  • textservers:
       pastebin.com		int
       pastebin.ca		int
  • imageserver:
       imageshack		int
       imagebin.ca		int
       imgur			int
       simplestimagehosting 	int

Time

  • City/Capital
       Timezone Continent	QString
       Timezone 		QString
       Time			QTime
       Date			QDate
       Timezone City		QString

Apps

  • Application:
       genericName	QString
       isApp		bool
       display		bool
       iconName	QString
       menuId		QString	
       comment		QString
       name		QString
       entryPath	QString


Kalzium

  • BlueObelisk:RandomElement:
       mp			QString
       period			QString
       family			QString
       mass			QString
       number			QString
       symbol			QString
       en			QString
       group			QString
       name			QString
       bp			QString
       electronconf		QString
  • Fact:
       mp			QString
       period			QString
       family			QString
       mass			QString
       number			QString
       symbol			QString
       en			QString
       group			QString
       fact			QString
       name			QString
       bp			QString
       electronconf		QString

Keystate

  • Right Button
  • NumLock
  • Left Button
  • Second X Button
  • Meta
  • Alt
  • Caps Lock
  • Super
  • Middle Button
  • Hyper
  • Ctrl
  • First X Button
  • Shift
  • AltGr

Search Launch

  • Query
      query                    QString