samedi 9 mai 2015

How to get system, user info with pure qml linux

recently I am preparing pure qml plasmoid for my new panel appereancce in KDE Plasma 4 and i have to use at most QT 4.7 library and Qt.Quick 1.1 for that so is it possible to pick up current user's fullname ? Is there any plasma API related to that like PlasmaCore or KSM etc. Or any PlasmaCore datasource engine like

#import org.kde.PlasmaCore 0.1 PlasmaCore
{
  Item{
      PlasmaCore.DataSource{
          engine  : "SystemInformation"
          connection : "get_user_fullname"
      }
  }
}

this. Or should I build a service like this. What is your suggestions, and thoughts ? Thanks in advence.

Aucun commentaire:

Enregistrer un commentaire