From kopete-devel Mon Mar 26 09:54:26 2007 From: Martijn Klingens Date: Mon, 26 Mar 2007 09:54:26 +0000 To: kopete-devel Subject: Re: [kopete-devel] OTR Plugin: transferring data from plugin to kcm Message-Id: <200703261154.27492.klingens () kde ! org> X-MARC-Message: https://marc.info/?l=kopete-devel&m=117490463403785 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 kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel