KURL being evil?

Waldo Bastian bastian at kde.org
Fri Jan 16 15:27:28 GMT 2004


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

On Fri January 16 2004 16:08, Charles Samuels wrote:
> On Friday 16 January 2004 2:57 pm, David Faure wrote:
> > On Friday 16 January 2004 15:42, Charles Samuels wrote:
> > > KURL(path)
> >
> > is a BIG no-no.
> >
> > Or in colors: http://www.blackie.dk/~dfaure/n7y/KIO/html/slide_3.html
>
> David,
>
> my example assigned to path the value of url() so it's a bit inaccurate?
>
> I just want to know how to turn a KURL into a string, and back again.
> Correctly even.

KURL toStringAndBack(const KURL &u)
{
   QString s = u.url();
   return KURL(s);
}

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFACALgN4pvrENfboIRAtrsAKCZa/VjDS8vKsBrDu7aCCmhDJJk5ACffQX0
ZFkuLLSOS11SAUFsK7A9Igc=
=7RTb
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list