Re: KJS::UString methods

Simon Hausmann <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.