[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-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]
[Attachment #2 (multipart/alternative)]
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 #5 (text/html)]
2006/8/27, Gary L. Greene Jr. <<a \
href="mailto:greeneg@phoenuxos.com">greeneg@phoenuxos.com</a>>:<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>> Some time ago I was able to test kcmlayout module quickly without all the<br>> KCM \
infrastructure by creating a simple main.cpp file and linking it to the<br> > module files.<br>> \
The source was as simple as this:<br>><br>> ...</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;"> ><br>> Can somebody tell me how that could be done with new \
KGenericFactory<br>> approach?<br>> If I just change to LayoutConfig(window, \
emptyStringList) it asserts in<br>> kcmodule.cpp<br>><br>> Thanks, <br>> 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 depend on installation, kcmshell etc)<br> \
</div><br></div>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic