[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu-devel
Subject:    Re: [kde-edu-devel] possible design math app
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2002-08-11 17:57:23
[Download RAW message or body]

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

On Sunday, 11. August 2002 18:23, Eva Brucherseifer wrote:
> The desktop files are not used by the KParts::* but rather by the
> KTrader. KTrader has a database (well, rather a cache actually) which
> you can query for certain service types and mimetypes (if you want so).
> Once you have determined the plugin lib you want load, you don't need
> the information anymore, that is provided by the desktop files. You
> also never look into the desktop files yourself, that is doing the
> program "kbuildsycoca" for you, which builds the cache for KTrader.

However, you can look at the information inside the desktop files if 
necessary.
KTrader returns an offer list, each offer baing a pointer to a KService 
instance.
KService can be queried for all properties defined in the asociated 
.desktop file.
This includes custom properties.

Cheers,
Kevin

- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9VqWKnKMhG6pzZJIRAuxcAJ4gsJ8ij7EdEYQbyF0ba6+t9KNixQCghMnF
1nReisWr+B8ZSWXbcVZeo4o=
=uiON
-----END PGP SIGNATURE-----
_______________________________________________
kde-edu-devel mailing list
kde-edu-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-edu-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic