2 DCOP interfaces for one application

Andras Mantia amantia at kde.org
Thu Jan 29 18:17:25 GMT 2004

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.

Yes, this was the solution. Thank you! And thanks also for Simon pointing
out that the virtual inheritance is not needed.


More information about the kde-core-devel mailing list