kdelibs/kjs - ambiguous call to AllocatedValueImp *KJS::String()
Harri Porten
porten at froglogic.com
Wed Feb 1 18:53:38 GMT 2006
Hi!
On Wed, 1 Feb 2006, Christian Ehrlicher wrote:
> While compiling khtml with msvc I get a lot of errors when
> KJS::String(QString) is used (for example
> kdelibs\khtml\ecma\kjs_html.cpp:124) because the compiler don't know
> which function to use (either String(const char*) or String(UString)).
> The easiest way to solve this is to create another String() function
> which uses QString as a parameter - should I add this?
Might make sense. I kindly ask you to either add that in kjs_binding.h
only or split declaration and implementation of the function like it has
been done for the UString constructor taking a QString.
Harri.
More information about the kde-core-devel
mailing list