KJS::UString methods

Karl Vogel karl.vogel at seagha.com
Sat Jul 24 14:31:25 CEST 2004


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.

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


More information about the Kde-optimize mailing list