extra properties in .desktop files

Pupeno pupeno at pupeno.com
Mon Nov 18 11:53:23 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to store (and retrive) an extra property from a .desktop file that
represents a service (a plug in in fact).
The file is festival.desktop and contains an extra property called
X-KDE-Languages (and I may have more extra properties) which represents the
languages this plug in can handle (a list of codes separated by comas).
But when I try to get it with KService::property(const QString& _name) it says
kio (KService*): Request for unknown property 'X-KDE-Languages'. Am I doing
something wrong ? can this be made ? if not, what do you recomend ?
Thank you.
- --
Pupeno: pupeno at pupeno.com
http://www.pupeno.com
- ---
Help the hungry children of Argentina,
please go to (and make it your homepage):
http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
PS: The weird thing is that propertyNames(); returns:
kcmshell: X-KDE-Languages
kcmshell: Type
kcmshell: Name
kcmshell: Comment
kcmshell: GenericName
kcmshell: Icon
kcmshell: Exec
kcmshell: Terminal
kcmshell: TerminalOptions
kcmshell: Path
kcmshell: ServiceTypes
kcmshell: AllowAsDefault
kcmshell: InitialPreference
kcmshell: Library
kcmshell: DesktopEntryPath
kcmshell: DesktopEntryName
kcmshell: Keywords
kcmshell: Categories
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE92NS2Lr8z5XzmSDQRAnOjAJ90HX4T2VElsG8qe66qhwLQvCHXdQCeI/Lm
wdP/KvNUlKMaL76iEmYyPvg=
=dnas
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list