Extending kconfig_compiler with some convenience method

Lubos Lunak l.lunak at suse.cz
Fri Mar 30 15:31:10 BST 2007


On Thursday 29 of March 2007, Andreas Pakulat wrote:
> Hi,
>
> currently kconfig_compiler creates a instance(const char*) when using
> args=true and a singleton. However I think most applications would have
> the filename in a QString. The attached patch adds an instance(const
> QString& ) to the generated class, which moves the needed
>
> QByteArray b = filename.toLocal8Bit();
> b.data()

 Filename? QFile::encodeName() perhaps? Not that I know anything about 
kconfig_compiler.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz




More information about the kde-core-devel mailing list