mocking kcontrol infrastructure for quick kontrol module test

Andriy Rysin arysin at gmail.com
Sun Aug 27 18:35:34 BST 2006


2006/8/27, Gary L. Greene Jr. <greeneg at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060827/03e04ff9/attachment.htm>
-------------- next part --------------
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


More information about the kde-core-devel mailing list