2 DCOP interfaces for one application
Adriaan de Groot
adridg at cs.kun.nl
Thu Jan 29 15:28:51 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Thursday 29 January 2004 16:24, David Faure wrote:
> On Thursday 29 January 2004 16:18, Andras Mantia wrote:
> > class QuantaApp : public KDockMainWindow, virtual public
> > DCOPWindowManagerIf, virtual public DCOPSettingsIf
> Don't implement the two interfaces in the same object.
> Implement them separately (i.e. inherit the *If classes separately),
> but one of them can simply make forwarding calls to the application object
> if that's where the code is.
Perhaps take a look at KPilot (yay!), it has a LogWidget class that implements
one DCOP interface (LogIface), and a second KpilotIface is, well, for other
things. They're separate objects though, and don't need access to each
other's data except through a managing object in the app.
pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
If the door is ajar, can we fill it with door-jamb?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the kde-core-devel