KJS::UString methods

Simon Hausmann hausmann at kde.org
Sat Jul 24 14:44:13 CEST 2004


On Saturday 24 July 2004 14:31, Karl Vogel wrote:
> More symbol weirdness..
>
> kdelibs/kjs/ustring.h defines prototypes:
>
>     UString(const QString &);
>     QString qstring() const;
>
> but it doesn't provide an implementation, meaning that anyone who uses
> these will get an undefined symbol error at runtime.
>
> The strange thing is, that there is an implementation of those in
> kdelibs/kio/misc/kpac/script.cpp.

(and in khtml/ecma)

> Wouldn't it be cleaner & nicer to put the implementation into libkjs
> itself?! And avoiding multiple versions of this in other parts of KDE ?!

kjs is meant to not depend on Qt. (except for those two little helper 
functions, which are implemented easily where they are needed)

Simon


More information about the Kde-optimize mailing list