Projects/DataEngines: Difference between revisions

From KDE TechBase
 
(15 intermediate revisions by the same user not shown)
Line 7: Line 7:
=== Akonadi ===
=== Akonadi ===


* Email Collections:
* Email Collections
        EmailCollection-N Qstring
* Contact Collections
* Contact Collections:
 
        EmailCollection-N Qstring
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 ===
=== Power Management ===
Line 30: Line 30:
* Power Devil:
* Power Devil:
       Current profile:  Qstring
       Current profile:  Qstring
       Avaible profiles:  QString
       Available profiles:  QString
 
PowerDevil will show the current profile and all the possibile power profiles.


=== Mouse ===
=== Mouse ===
Line 38: Line 40:
* Name:
* Name:
         Name         QString
         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 ===
=== Pastebin ===


* textservers:
* textservers:
        pastebin.com int
        pastebin.ca int
* imageserver:
* imageserver:
        imageshack int
     
        imagebin.ca int
 
        imgur int
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.
        simplestimagehosting int


=== Time ===
=== Time ===


* City/Capital
* State/Capital
         Timezone Continent QString
         Timezone Continent QString
         Timezone QString
         Timezone QString
Line 58: Line 76:
         Date QDate
         Date QDate
         Timezone City QString
         Timezone City QString
Time is a list of State/Capital and for each of them, the information will be filled with proper value.


=== Apps ===
=== Apps ===
Line 71: Line 91:
         entryPath QString
         entryPath QString


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


=== Kalzium ===
=== Kalzium ===
Line 100: Line 121:
         bp QString
         bp QString
         electronconf QString
         electronconf QString
This DataEngine offers a fact or informations about a random chemical element.


=== Keystate ===
=== Keystate ===


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


=== Search Launch ===
=== Search Launch ===
Line 122: Line 177:
* Query
* Query
       query                    QString
       query                    QString
Value of Search launch query string.

Latest revision as of 00:19, 28 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

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.