KUrl(QString) fix
André Wöbbeking
Woebbeking at kde.org
Sat Dec 30 09:28:40 GMT 2006
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é
More information about the kde-core-devel
mailing list