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

List:       kde-core-devel
Subject:    Re: mocking kcontrol infrastructure for quick kontrol module test
From:       "Andriy Rysin" <arysin () gmail ! com>
Date:       2006-08-28 3:00:40
Message-ID: 3e02eb610608272000j4dc0a398k5c4a824e9e50490e () mail ! gmail ! com
[Download RAW message or body]

2006/8/27, Matthias Kretz <kretz@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.

[Attachment #3 (text/html)]

2006/8/27, Matthias Kretz &lt;<a \
href="mailto:kretz@kde.org">kretz@kde.org</a>&gt;:<div><span \
class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On Sunday \
27 August 2006 18:45, Andriy Rysin wrote:<br>...<br>The correct way to do it, of \
course, is to use KCModuleLoader from libkutils.<br>You should also be able to do it \
using KLibLoader. How you do it without<br>having to link your application against a \
plugin ( i.e. not a shared lib) I<br>don't know for certain (perhaps I don't want to \
know), but you could try to<br>call the init_keyboard_layout method which returns a \
LayoutConfigFactory<br>which in turn will create an instance of LayoutConfig for you. \
</blockquote><div><br>Thanks a lot - that helped.<br><br>A. <br></div><br></div>



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

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