[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [kopete-devel] OTR Plugin: transferring data from plugin to kcm
From:       Martijn Klingens <klingens () kde ! org>
Date:       2007-03-26 9:54:26
Message-ID: 200703261154.27492.klingens () kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic