KJS::UString methods

Yves Glodt yg at mind.lu
Sat Jul 24 14:53:38 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 24 July 2004 14:44, Simon Hausmann wrote:
> 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)

Are there (or have there ever been) plans to remove Qt-dependency from 
khtml as well?

I guess some people would be happy to build a win32 (or any other 
platform) browser that uses khtml/kjs... :-)

> Simon
> _______________________________________________
> Kde-optimize mailing list
> Kde-optimize at kde.org
> https://mail.kde.org/mailman/listinfo/kde-optimize

- -- 
Linux 2.4.26 #4 Wed Apr 14 19:23:19 CEST 2004 i686
 14:49:55 up  2:23,  1 user,  load average: 0.15, 0.38, 0.41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBAlvVfmxiTOp0sQYRAuXiAJ4woVkX9ad6Dy9IzSFNsPtcxyw8xgCcDu+r
1+F0R6SjUrlgwYB9CPpErMA=
=T0kU
-----END PGP SIGNATURE-----


More information about the Kde-optimize mailing list