Projects/DataEngines

From KDE TechBase

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

Name is the name of pointer and Position is the position of the pointer on the screen.

MicroBlogging

  • UserImages:blogservice
       Image	        QImage
  • Timeline:username@blogservice
       Values	        QHash
  • TimelineWithFriends:username@blogservice
       Values	        QHash
  • Profile:username@blogservice
       Values	        QHash
  • Replies:username@blogservice
       Values	        QHash
  • Messages:username@blogservices
       Values	        QHash

Microblogging Dataengine needs the username and the blogservice to be used. The value returned are all QHash for tweets and QImage for Image retriving service.

Pastebin

  • textservers:
  • imageserver:


It's a list of plugins installed by "get hot new stuffs". Each of them stores a list of providers to provide the sharing of content to it.

Time

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

Time is a list of State/Capital and for each of them, the information will be filled with proper value.

Apps

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

Is a list of install application, each application will have their proper values.

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

This DataEngine offers a fact or informations about a random chemical element.

Keystate

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

Search Launch

  • Query
      query                    QString

Value of Search launch query string.