[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 16:42:57
[Download RAW message or body]

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

On Sunday, 11. August 2002 18:23, Dominique Devriese wrote:

> I think you are wrong to think that it is useful here, because:
> 1 the main part of it is its loading mechanism: it has a way to search
> a directory for files, which it presents to the program as plugin
> infos it can load.  This is imho not usable for KDEEdu since we want
> desktop files with more information than the file name of the module
> binary...  KParts::Plugin doesn't use desktop files at all..

Hmm, you _can_ use desktop files with plugins. No idea if you're supposed 
to do so, but we (actually our mapper developer) use it that way.
Plugin lookup is done with KTrader as we do with parts and the trader 
returns service offers which in turn point to KService instances.

Those can easily be queried for any property specified in the service's 
.desktop file.

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)

iD8DBQE9VpQWnKMhG6pzZJIRAofiAJ9AMWMVXYQkLtk91SNXYf7nAH1CQACfSRAl
ChV8w30qISIqdy/ad6PUJeU=
=EISZ
-----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