2 DCOP interfaces for one application

David Faure faure at kde.org
Thu Jan 29 15:24:51 GMT 2004


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.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list