[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: naming inconsistency in KURL
From: Kurt Granroth <granroth () kde ! org>
Date: 2000-05-31 5:49:50
[Download RAW message or body]
pbrown@redhat.com wrote:
> does anyone else agree that this is inconsistent?
>
> /**
> * @return The complete URL.
> *
> * @param _trailing This may be ( -1, 0 +1 ). -1 strips a trailing '/'
> from the path, +1 adds
> * a trailing '/' if there is none yet and 0 returns
> the
> * path unchanged.
> */
> QString url( int _trailing = 0 ) const;
>
> /**
> * @return A human readable URL.
> */
> QString prettyURL() const;
>
> (i.e. url vs URL).
No, I don't think so... well, it would maybe be a tiny bit better as
'prettyUrl' to be more consistent... but as it is wrt our method
naming, it fits.
> What is the difference between the two anyway?
The first
> * @return The complete URL.
and the second
> * @return A human readable URL.
--
Kurt Granroth | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org | granroth@suse.com
KDE -- Putting a Friendly Face on Unix
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic