[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KConfigBase & QUrls
From: Thomas Braxton <brax108 () cox ! net>
Date: 2006-01-24 20:41:31
Message-ID: 200601241441.31963.brax108 () cox ! net
[Download RAW message or body]
On Tuesday 24 January 2006 14:33, David Faure wrote:
> On Monday 23 January 2006 08:57, Thomas Braxton wrote:
> > This patch implements QUrl in readEntry/writeEntry.
>
> Good idea, but it should use toEncoded/fromEncoded instead,
> (and as others said, this is unrelated to path entries).
>
> QUrl("...") and QUrl::toString are useless for our purposes.
> QUrl("file:///foo%23bar").toString() is "file:///foo#bar", which gives a
> fragment of 'bar' when passed back to a QUrl.
>
> So, better use toEncoded/fromEncoded;
I wasn't sure what to use, so I just picked toString, that seemed to work for
the simple things I tried it with.
> or wait for my QUrl-based KURL
> which is coming as soon as one last QUrl bug is fixed (returning invalid
> urls unchanged instead of returning empty, useful for error messages).
Sounds like a plan, I'll drop this for now, pick it up again after KURL is
ready.
Thomas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic