On Sunday 25 March 2007 13:24, Michael Zanetti wrote:
> The best way to do this would be to emit a signal from the plugin whenever
> a connectionstate changes. But for this I would have to link the two
> targets. This would work but the linker tells me that this is not portable.
> So I guess I shouldn't do this.

No, it is indeed not portable to many non-Linux platforms to link to a module.

> Is there any way to connect a signal from the plugin to a slot in the kcm
> module without linking them?

Yes, create a shared library that contains the relevant classes and link to 
that library from both the plugin and the KCM.

MSN does exactly this too, it has libkopete_msn_shared.la as shared lib.

-- 
Martijn
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to