[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-27 17:35:34
Message-ID: 3e02eb610608271035n59e8a26epda9d516e94b2f232 () mail ! gmail ! com
[Download RAW message or body]

2006/8/27, Gary L. Greene Jr. <greeneg@phoenuxos.com>:
>
> On Sunday 27 August 2006 12:45, Andriy Rysin wrote:
> > Some time ago I was able to test kcmlayout module quickly without all
> the
> > KCM infrastructure by creating a simple main.cpp file and linking it to
> the
> > module files.
> > The source was as simple as this:
> >
> > ...


...

>
> > Can somebody tell me how that could be done with new KGenericFactory
> > approach?
> >  If I just change to LayoutConfig(window, emptyStringList) it asserts in
> > kcmodule.cpp
> >
> > Thanks,
> > Andriy
>
> Why not use kcmshell to test it in?


I started to use it when I had problems with kcmshell
But now the main reason is speed (I don't  depend on installation, kcmshell
etc)

[Attachment #3 (text/html)]

2006/8/27, Gary L. Greene Jr. &lt;<a \
href="mailto:greeneg@phoenuxos.com">greeneg@phoenuxos.com</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 12:45, Andriy Rysin wrote:<br>&gt; Some time ago I was able to test \
kcmlayout module quickly without all the<br>&gt; KCM infrastructure by creating a \
simple main.cpp file and linking it to the<br> &gt; module files.<br>&gt; The source \
was as simple as this:<br>&gt;<br>&gt; ...</blockquote><div><br>... \
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &gt;<br>&gt; Can somebody \
tell me how that could be done with new KGenericFactory<br>&gt; \
approach?<br>&gt;&nbsp;&nbsp;If I just change to LayoutConfig(window, \
emptyStringList) it asserts in<br>&gt; kcmodule.cpp<br>&gt;<br>&gt; Thanks, <br>&gt; \
Andriy<br><br>Why not use kcmshell to test it in?</blockquote><div><br>I started to \
use it when I had problems with kcmshell<br>But now the main reason is speed (I \
don't&nbsp; depend on installation, kcmshell etc)<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