[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KUrl(QString) fix
From:       André_Wöbbeking <Woebbeking () kde ! org>
Date:       2006-12-30 9:28:40
Message-ID: 200612301028.40438.Woebbeking () kde ! org
[Download RAW message or body]

On Saturday 30 December 2006 00:13, Ralf Habacker wrote:
> Aaron J. Seigo schrieb:
> > On Wednesday 20 December 2006 10:52, Ralf Habacker wrote:
> >> Unfortunally KUrl::path() is an inline function. :-(
> >
> > ugh. inline functions in our public API. not good.
> >
> > i can only imagine this was done for performance purposes. was it
> > actually measured?
>
> No answers ?  I'm going to add two additional method to KUrl next
> Tuesday according our last KUrl path problems on windows thread and
> discussion with David :
>
>   QString toLocalFile() const;
>   QString toLocalFile(AdjustPathOption trailing ) const;

Or only one:

    QString toLocalFile(AdjustPathOption trailing = LeaveTrailingSlash) 
const;

(or whatever should be the default).


Cheers,
André

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic