[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 11:56:58
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, 11. August 2002 12:00, Eva Brucherseifer wrote:
> The large difference to kparts is here, that kparts are based on
> mimetypes and that they always have an attached document.
> Kparts-plugins also exist, but they don't have widgets. So we need
> something new here.
AFAIK KParts::Plugins can have widgets, they just don't have to.
And again AFAIK, you don't have to use either MIME type or document with
kparts.
Actually I know that above things work, because we (as in developers of
Kmud) use kparts and plugins that way :)
(using KTraders to query and load them)
> So how would I proceed....
> - first I'd take ktt (or any other little math app) into a kpart.
> - implement a new interface class for kedupart (which would go into a
> new lib: libeduparts), inspired by the kparts code
We subclassed KParts::KPart to get a customized Part with additonal
interface
(see lib/kmudpart.h in kmud2 sources)
> - check with other KDE people if ktrader can be extended or reimplement
> something similar
You can query for services implementing your own ServiceType.
(see kmud/kmudcore.cpp method loadPart in kmud2 sources for loading
KmudParts and parts/mapper/cmapmanager.cpp method initPlugins for loading
plugins which can use widgets)
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)
iD8DBQE9VlEQnKMhG6pzZJIRAkfaAJ4iOuz8ROeRjBhFIx0dSciIFLAbYwCeKQQr
WNIvjYDvkRIoI7E2q78kas0=
=Fjvr
-----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