[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KUrl(QString) fix
From: Ralf Habacker <ralf.habacker () freenet ! de>
Date: 2006-12-23 10:09:34
Message-ID: 458D005E.7020109 () freenet ! de
[Download RAW message or body]
David Faure schrieb:
>
> So? We haven't released kde-4.0 yet, it can be made non-inline any Monday.
> It is inline right now only because of the overload that takes an argument, but the intent
> wasn't that KUrl::path would work any differently from QUrl::path. But since we already
> disagree with QUrl about a few things (like the use of toString), I'm not actually
> opposed to a solution where path() would work differently.
>
With the increased knowledge of this stuff I think that there is no
reason to change path() behavior because we can use toLocalFile().
More important would be to have a toLocalFile() method with the
'AdjustPathOption trailing' parameter as path() have
QString path( ) const;
QString path( AdjustPathOption trailing ) const;
->
QString toLocalFile() const;
QString toLocalFile(AdjustPathOption trailing ) const;
Ralf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic