I am preparing pure qml plasmoid for my new panel appereance in KDE Plasma 4 and I have to use at most Qt 4.7 library and Qt.Quick 1.1 for that. 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 the following:
#import org.kde.PlasmaCore 0.1 PlasmaCore
{
Item{
PlasmaCore.DataSource{
engine : "SystemInformation"
connection : "get_user_fullname"
}
}
}
Or should I build a service like this? What are your suggestions, and thoughts?
I figured out ! I did create custom Data Engine that provides user's info over qdbus bridge you can learn basics of it from here : https://techbase.kde.org/Development/Tutorials/Plasma4/DataEngines @douyw basically misunderstood the question and i do not know who minused the question. Anyway , its an important issue for new generation of qml developing , making Data Engines is simply making API.