KUser QML Type
User provides read-only access to the user's personal information. More...
Import Statement: | import org.kde.coreaddons |
Properties
- faceIconUrl : url
- fullName : string
- host : string
- loginName : string
- os : string
Detailed Description
KUser is an object allowing read-only access to the user's name, os and version and the configured user image. This object can be used to personalize user interfaces.
Example usage:
import org.kde.coreaddons as KCoreAddons [...] Item { [...] KCoreAddons.KUser { id: kuser } Image { id: faceIcon source: kuser.faceIconUrl [...] } Text { text: kuser.fullName [...] } }
See also KUser.
Property Documentation
faceIconUrl : url |
The url of the user's configured image (including file:/)
fullName : string |
The user's full name
host : string |
The user's the system's hostname
loginName : string |
The user's login name
os : string |
The pretty name indicating operating system and version