KURL construction bug?
Thiago Macieira
thiago.macieira at kdemail.net
Fri Feb 27 21:14:02 GMT 2004
Andras Mantia wrote:
>Hi,
>
> I've just noticed a strange (for me) behavior in the KURL. I'd like
> to construct a KURL from a string which is in a form of
>"/path/filename#reference".
That's a file called "filename#reference" on path "/path".
>If I use:
>KURL url;
>url.setPath(string);
setPath takes the whole argument as the filename. It does not understand
references or queries.
>Is that the desired behavior and I misunderstood the documentation or
> this is a bug in setPath() ?
I think it's the desired behaviour. setPath sets only the path.
--
Thiago Macieira - Registered Linux user #65028
thiago (AT) macieira (DOT) info
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040227/4008f5c6/attachment.sig>
More information about the kde-core-devel
mailing list