mocking kcontrol infrastructure for quick kontrol module test

Andriy Rysin arysin at gmail.com
Mon Aug 28 04:00:40 BST 2006


2006/8/27, Matthias Kretz <kretz at kde.org>:
>
> On Sunday 27 August 2006 18:45, Andriy Rysin wrote:
> ...
> The correct way to do it, of course, is to use KCModuleLoader from
> libkutils.
> You should also be able to do it using KLibLoader. How you do it without
> having to link your application against a plugin (i.e. not a shared lib) I
> don't know for certain (perhaps I don't want to know), but you could try
> to
> call the init_keyboard_layout method which returns a LayoutConfigFactory
> which in turn will create an instance of LayoutConfig for you.


Thanks a lot - that helped.

A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060827/21a69fdc/attachment.htm>


More information about the kde-core-devel mailing list